Dev Design Library

Toggle 01 - Animated Sun/Moon

An animated toggle button that switches between Sun and Moon icons with smooth physics-based transitions.

Toggle 01 - Animated Sun/Moon preview
Library
Shadcn Space
Framework
React
Type
component
License
MIT
Dependencies
lucide-react, motion
Files
  • src/components/shadcn-space/toggle/toggle-01.tsx
Source
https://github.com/shadcnspace/shadcnspace

Categories

More from Shadcn Space