Search nx-ui
Jump to any foundation, component, block or example.
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.