Theme Toggle Sun Moon Morph โ shadcn/ui Component by viberdy | shadcnregistry
Theme Toggle Sun Moon Morph
component
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.