Files
shadcn-ui/apps/v4/examples/base/checkbox-disabled.tsx
shadcn 64b88b6cdb feat: refactor styles handling across v4 (#10176)
* feat: refactor styles handling across v4

* fix

* fix

* fix

* fix

* fix

* fix
2026-03-26 09:50:58 +04:00

20 lines
556 B
TypeScript

import { Checkbox } from "@/styles/base-nova/ui/checkbox"
import { Field, FieldGroup, FieldLabel } from "@/styles/base-nova/ui/field"
export function CheckboxDisabled() {
return (
<FieldGroup className="mx-auto w-56">
<Field orientation="horizontal" data-disabled>
<Checkbox
id="toggle-checkbox-disabled"
name="toggle-checkbox-disabled"
disabled
/>
<FieldLabel htmlFor="toggle-checkbox-disabled">
Enable notifications
</FieldLabel>
</Field>
</FieldGroup>
)
}