Projection UI
Components

Toggle

Projection UI 0.2.0 Alpha

Read this page as Markdown

These contracts describe the evolving 0.2.0 Alpha edition. Read Installation to select the matching alpha package or the stable documentation.

Component contract

Required propsOptions and defaults
checked, onChangelabel, hint, disabled=false, size="md", aria-label, className, style

Shared application peers: react >=19.0.0, react-dom >=19.0.0. Your application supplies React 19 and React DOM 19.

Read the full component reference for supported values and interaction behavior.

Examples

Toggle: Default

Loading example…
Open Toggle: Default in the component explorer

Toggle: Checked

Loading example…
Open Toggle: Checked in the component explorer

Toggle: Disabled

Loading example…
Open Toggle: Disabled in the component explorer

Toggle: Small Size

Loading example…
Open Toggle: Small Size in the component explorer

Toggle: Rounded

Loading example…
Open Toggle: Rounded in the component explorer

Font licenses

On this page