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 DefaultDemo() {
return (
<Switch name="default">
<Switch.Control defaultChecked label="Source" value="source" />
<Switch.Control label="Output" value="output" />
</Switch>
);
}