ThemeModeToggle
A dropdown that switches between light, dark and system themes.
Installation
pnpm dlx shadcn@latest add @chelone/theme-mode-toggleA dropdown that switches between light, dark and system themes.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| ref | Ref<HTMLButtonElement> | — |