Block
CLI registryTheme Toggle Icon
Compact sun/moon theme toggle for narrow chrome.
Preview → install → use
01
Preview
Compact sun / moon toggle
02
Install
bash
npx shadcn@latest add @atroui/theme-toggle-iconSource lands in your repo. Setup: Installation · Registry catalog.
03
Usage
Requires next-themes ThemeProvider. For the segmented pill, use @atroui/theme-toggle.