color theme switcher #7494
ShouryaBatra
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Color Theme Switcher Component for shadcn/ui
Live Demo
👉 View Live Example Site - A complete showcase of the theme switcher in action with all shadcn/ui components
The Problem
While shadcn/ui provides excellent documentation for implementing dark mode toggles (docs) and showcases various beautiful color themes (themes page), there wasn't a clear way to implement a theme switcher that allows users to toggle between different color themes within a site.
The Solution
I've created a color theme switcher component that allows you to:
Repository
Check out the implementation here: shadcn-color-theme-switcher
Why This Matters
This component fills a gap in the current shadcn/ui ecosystem by providing a user-friendly way to implement theme switching functionality. It's particularly useful for:
Feedback Welcome
I'd love to hear your thoughts and suggestions for improvement. Feel free to:
Learn More and Implementation
Visit the repository to:
This component is designed to work seamlessly with shadcn/ui's existing theme system while adding the much-needed functionality of theme switching. I hope this helps the community and would love to see it potentially integrated into the official shadcn/ui ecosystem, documentation, etc.
Beta Was this translation helpful? Give feedback.
All reactions