Theme switcher
- from @shadcnuikit
Light/dark theme toggles in several layouts, icon-only, with label, or in a small control group. Built with shadcn/ui for consistent theming.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @shadcnuikit/theme-switcher1Registry dependencies1
- switch
