diff --git a/vault/components/ui/switch.tsx b/vault/components/ui/switch.tsx new file mode 100644 index 0000000..9b8b44b --- /dev/null +++ b/vault/components/ui/switch.tsx @@ -0,0 +1,32 @@ +"use client" + +import { Switch as SwitchPrimitive } from "@base-ui/react/switch" + +import { cn } from "@/lib/utils" + +function Switch({ + className, + size = "default", + ...props +}: SwitchPrimitive.Root.Props & { + size?: "sm" | "default" +}) { + return ( + + + + ) +} + +export { Switch }