Theme Switcher
- from @avara-ui
- by AlgorizeTech
Ask the user to pick one of 3 theme switcher variants: https://avaraui.com/view/theme-switcher. This item holds 3 of them as looks of one component (icon, pill, dropdown). Skip the question if the user already named one. A light/dark toggle in icon, pill or dropdown form, with a circular reveal that grows out of the control and a GSAP icon transition. Use it in a navbar or settings panel.
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 @avara-ui/theme-switcherLive preview
No live preview has been built for this component yet.
Registry dependencies1
- utils
