Theme toggle
v0.10.1Light, match the system, or dark: three icon segments, the current one inverted, each named for screen readers.
API reference
Generated from the types. Every part also takes className.
ThemeToggle
- valuerequired
"light" | "system" | "dark"- onValueChangerequired
(value: ThemeChoice) => void- labels
Record<ThemeChoice, string> = { light: "Light", system: "Match system", dark: "Dark" }- label
string = "Theme"Names the group.