ThemeModeToggle

A dropdown that switches between light, dark and system themes.

Installation

pnpm dlx shadcn@latest add @chelone/theme-mode-toggle

A dropdown that switches between light, dark and system themes.

Props

PropTypeDefaultDescription
refRef<HTMLButtonElement>—