Components/GretTech/Theme Toggle

Theme Toggle

A beautiful animated theme toggle with spring animations.

v0

Installation

Full Setup guide

Install the component automatically via Shadcn CLI.

npx shadcn@latest add https://www.grettech.com/api/registry/theme-toggle

Other Examples

With Theme Name

v0

Props

PropTypeDefaultDescription
showThemeName
booleanfalseWhether to display the text label for the active theme alongside the icon.