Theme toggle button that repaints the whole page through the View Transition API — a rectangle or circle clip-path reveal, or slats that open across the screen like a shutter.
Files · 4
Dependencies
npm packages
clsx
lucide-react
motion
next-themes
tailwind-merge
Registry Items
theme-toggle
Configuration
Name
theme-toggle
Type
Component
Description
Theme toggle button that repaints the whole page through the View Transition API — a rectangle or circle clip-path reveal, or slats that open across the screen like a shutter.