ColorSchemeToggle
- from @ouro
The dark mode control: it switches the app between light, dark and the system's scheme, and keeps the choice.
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 @ouro/color-scheme-toggleComponent source
No live preview has been built for this component yet.
Registry dependencies8
- @ouro/button
- @ouro/lib-class-name-check
- @ouro/lib-cn
- @ouro/lib-color-scheme
- @ouro/lib-env
- @ouro/lib-use-dev-messages
- @ouro/menu
- @ouro/segmented-control
Packages0
No npm packages are installed with it.