Domain Rating by Ahrefs46
Description
Toggles.dev is a collection of animated dark and light mode toggle buttons for React, Svelte and Vue. Each toggle is a drop-in component you can place in your own interface. You can install them with shadcn/ui or npm, or copy the source code directly. The gallery shows 14 styles, including classic, around, dark inner, dark side, eclipse, expand, spin, half sun, horizon, inner moon, lightbulb, light switch, simple and within, and you can preview each one on the page. The components are open source, and the site links the source on GitHub under the alfiejones account. They were built by Alfie Jones, and the site asks people who enjoy them to tweet about the project and tag the author. The site is focused on theme switching, so it suits an app that needs a dark mode control with some motion. The shown text does not name a license, so check the repository before you use the code in a commercial product.…
Highlights
- Animated dark and light mode toggles
- React, Svelte and Vue components
- Install with shadcn/ui or npm
- 14 styles to preview
- Open source on GitHub
Ratings & Reviews
No ratings yet
Be the first to rate toggles.
People also visit
react-theme-switch-animation
Beautiful, smooth animations for theme switching in React applications
react-toggle
An elegant, accessible toggle component for React. Also a glorified checkbox

twblocks
Website blocks to copy/paste - based on shadcn & Radix using Tailwind and NextJS
toggles FAQ
What are Toggles.dev toggles?
Animated dark and light mode buttons you can drop into a React, Svelte or Vue app.
How do I install one?
Use shadcn/ui or npm, or copy the source code, as the site describes.
Is it open source?
The site links the source on GitHub at alfiejones/theme-toggles. The shown text does not name the license.
Who made it?
Alfie Jones, according to the site.
What are the best toggles alternatives?
Popular alternatives to toggles include react-theme-switch-animation, react-toggle and Sona UI. See all toggles alternatives


