Theme Toggle
pulld/theme-toggleUnverifiedComponent
The one-button light/dark switch you drop in a navbar, header or settings row — click it and the whole app flips theme, and the choice survives a reload. Common asks it answers: "dark mode toggle", "theme toggle button", "light dark switcher", "toggle dark mode in Tailwind", "sun moon toggle", "dark mode without next-themes", "theme switcher for shadcn", "remember the user's theme", "respect the system theme". shadcn/ui has no installable toggle: its dark-mode guide hands you a next-themes provider to wire up and a dropdown to assemble yourself, so a plain button is written by hand every time.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/yu-shell/pulld/main/theme-toggle.jsonThis registry does not serve an item endpoint we could read, so we hold its metadata but not its source.
What it pulls in
npm packages
Files it writes
More from pulld
All 48 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Announcement Barannouncement-bar | pulld | Components | Unverified | 1 dep | |
| Autosize Textareaautosize-textarea | pulld | Components | Unverified | no deps | |
| Avatar Stackavatar-stack | pulld | Components | Unverified | no deps | |
| Bento Gridbento-grid | pulld | Components | Unverified | no deps | |
| Bulk Action Barbulk-action-bar | pulld | Components | Unverified | no deps | |
| Code Blockcode-block | pulld | Components | Unverified | no deps | |
| Command Palettecommand-palette | pulld | Components | Unverified | 1 dep | |
| Confirm Buttonconfirm-button | pulld | Components | Unverified | no deps |
