Registry Index

Search the catalog

Type to search items across every indexed registry, or pick a page.

ComponentReactregistry:ui3 dependencies

Toggle

toggle

A button that stays down.

Live

Starting the live preview…

Runs in a sandboxed frame on a separate origin. Mounted with no props — some items need input to show anything.

6 other registries

Similar components

Other registries' take on toggle.

Two-state toggle button on radix-ui with 2 variants (default, outline), 3 sizes and 2 tones (neutral, brand). Pressed state uses the accent token (neutral) or brand-soft (brand).

A two-state button that can be either on or off.

A two-state button that can be toggled on or off.

Used by 2 items

Built on Toggle

Other @afterglow items that list this one as a dependency.

@afterglow

More from @afterglow

A shell line. Sigil, field and caret share one row with no border between them.

Sections that open one at a time or many. The marker is a plus that rotates into a minus.

A pink confirmation dialog for destructive or irreversible actions.

Text resolving out of glyph soup, left to right. On mount, on hover, or when it scrolls into view.

Initials in mono inside a bordered square.

A hairline track and a square thumb, in place of the operating system's own.

A self test that prints itself line by line, at its final height from the first frame.

One pixel of the border color, horizontal or vertical.