Skip to content
All components

Switch

Experimental

Forms · Primitives

A binary control for a record that is shared, asynchronous, and often missing the fact you are asking it about.

16 states44 props31.9 KB installedsince 0.3.0

Design language
Renders the preview in that framework’s own components and tokens. Clinical colours never change.
npx @oxygenui-design/cli add switch

First install? Run oxygen init once to say where your @/ alias points. The source is copied into your repository, along with anything it depends on.

Preview

Every state, phase and surface — live, on the page.