B
beUI

Theme Toggle · beUI

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.

npx shadcn@latest add @beui/theme-toggle
Preview Theme Toggle on beUI's site (opens in a new tab)
Loading the source for theme-toggle…

theme-toggle