Theme Toggle
A control for switching between light, dark and system colour themes.
$
Registry itembunx shadcn@latest add @nx-ui/theme-toggleCycle variant
A single icon button that cycles light → dark → system on each click — no menu, for tighter spaces like a compact toolbar.
Disabled
Props not covered by `variant` pass straight through to the underlying Button, so disabled works on either variant.
API reference
Exported parts and their props, extracted from the component source.
| Prop | Type | Default | Description |
|---|---|---|---|
variant | "menu" | "cycle" | "menu" | — |
…extends Omit<React.ComponentProps<typeof Button>, "children" | "var…