Skip to content

Switch

switch-states.tsx
import { Stack } from "@/components/ui/stack"
import { Switch } from "@/components/ui/switch"

export function SwitchStates() {
  return (
    <Stack direction="row" className="items-center gap-4">
      <Switch />
      <Switch checked />
      <Switch disabled />
      <Switch disabled checked />
    </Stack>
  )
}