Toggle Theme
- from @lema-ds
A dropdown button to switch between light, dark, and system themes. Re-exports ThemeProvider for app-level setup.
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 @lema-ds/ds-toggle-themeLive preview
No live preview has been built for this component yet.
Registry dependencies5
- @lema-ds/button
- @lema-ds/dropdown-menu
- @lema-ds/ui-i18n
- @lema-ds/skeleton
- @lema-ds/ds-locale-provider
