Forms
Checkbox
A square well that fills with lamp colour.
npx shadcn@latest add https://ui.netm8.com/r/checkbox.json@base-ui/reactlucide-react
Forms
A square well that fills with lamp colour.
npx shadcn@latest add https://ui.netm8.com/r/checkbox.jsonimport { Checkbox } from "@/components/ui/checkbox"
export default function CheckboxDemo() {
return (
<div className="grid gap-3 text-sm">
<label className="flex items-center gap-2.5">
<Checkbox defaultChecked /> Rain
</label>
<label className="flex items-center gap-2.5">
<Checkbox /> Fireflies
</label>
<label className="flex items-center gap-2.5">
<Checkbox indeterminate /> Stars
</label>
</div>
)
}