snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
11
apps/v4/examples/radix/switch-disabled.tsx
Normal file
11
apps/v4/examples/radix/switch-disabled.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Field, FieldLabel } from "@/styles/radix-nova/ui/field"
|
||||
import { Switch } from "@/styles/radix-nova/ui/switch"
|
||||
|
||||
export function SwitchDisabled() {
|
||||
return (
|
||||
<Field orientation="horizontal" data-disabled className="w-fit">
|
||||
<Switch id="switch-disabled-unchecked" disabled />
|
||||
<FieldLabel htmlFor="switch-disabled-unchecked">Disabled</FieldLabel>
|
||||
</Field>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user