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/base/switch-demo.tsx
Normal file
11
apps/v4/examples/base/switch-demo.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Label } from "@/styles/base-nova/ui/label"
|
||||
import { Switch } from "@/styles/base-nova/ui/switch"
|
||||
|
||||
export function SwitchDemo() {
|
||||
return (
|
||||
<div className="flex items-center space-x-2">
|
||||
<Switch id="airplane-mode" />
|
||||
<Label htmlFor="airplane-mode">Airplane Mode</Label>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user