snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
19
apps/v4/examples/radix/checkbox-disabled.tsx
Normal file
19
apps/v4/examples/radix/checkbox-disabled.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import { Checkbox } from "@/styles/radix-nova/ui/checkbox"
|
||||
import { Field, FieldGroup, FieldLabel } from "@/styles/radix-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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user