Components
Loading preview...
Choose between a set of options.
@shugar
npx shadcn@latest add https://21st.dev/r/shugar/switchimport { Switch } from "@/components/ui/switch";
export default function DisabledDemo() {
return (
<Switch>
<Switch.Control defaultChecked disabled label="Source" value="source" />
<Switch.Control disabled label="Output" value="output" />
</Switch>
);
}