Dev Design Library

Theme Toggle

Light and dark switch that reveals the new theme as a circle growing from the center of the screen or from the button itself.

Theme Toggle preview
Library
EaseUI
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add @easeui/theme-toggle
Files
  • components/motion/theme-toggle.tsx
  • lib/utils.ts
Source
https://github.com/rjcuff/easeui

Categories

More from EaseUI