89.1k

一个允许用户在选中和未选中之间切换的控件。

安装

pnpm dlx shadcn@latest add checkbox

用法

import { Checkbox } from "@/components/ui/checkbox"
<Checkbox />

示例

表单