A setting that takes effect the moment it flips.
Every shadcn style · one file
v2.0 · Updated Oct 13pnpm dlx shadcn@latest add https://notchset.dev/r/switch.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/switch.jsonFree, no account or key. One command for every shadcn style. With the @notchset registry added, @notchset/<name> works too.
Works with React 18.3 or 19 on Tailwind CSS v4, in any shadcn project. What's tested
pnpm add @base-ui/react@^1The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Import it and pass your content. The props that matter most are listed next.
import { Switch } from "@/components/ui/notchset/switch";
export function Example() {
return <Switch defaultChecked>Log replies automatically</Switch>;
}"use client";
import { Switch } from "@/components/ui/notchset/switch";
export default function SwitchDemo() {
return (
<div className="flex flex-col items-start gap-3">
<Switch defaultChecked>Log replies automatically</Switch>
<Switch>Track opens</Switch>
<Switch disabled>Two-step sign in (admin only)</Switch>
</div>
);
}components/ui/notchset/switch.tsx
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v2.0.0 · 2026-10-13
Released with the Notchset system.
The same file, at work in a finished app. Open it live and find it on its pages.
Sign-in, settings and developers. Getting in, the settings people change, and the keys and webhooks developers need.
4 free · 2 ProSee the Sign-in, settings and developers kit