允许用户在 “选中(checked)”和 “不选中(not checked)”之间切换的控件。
npx shadcn@latest add checkbox
import { Checkbox } from "@/components/ui/checkbox"
<Checkbox />
You agree to our Terms of Service and Privacy Policy.
You can manage your mobile notifications in the mobile settings page.
Select the items you want to display in the sidebar.
On This Page