V
viberdy.dev

Theme Toggle Sun Moon Morph · viberdy.dev

A dark-mode switch whose thumb morphs from a sun into a crescent moon through a real SVG mask, while the track shifts from drifting clouds to twinkling stars. Controlled or uncontrolled, no dependencies.

npx shadcn@latest add @viberdy/theme-toggle-sun-moon-morph
Preview Theme Toggle Sun Moon Morph on viberdy.dev's site (opens in a new tab)
Loading the source for theme-toggle-sun-moon-morph…
Files

—