Toggle

Switch a single setting between pressed and unpressed.

Usage

Composition

Import the shared component directly. Interactive examples that need callbacks belong in a small client component; keep the MDX article on the server.

Selected

Disabled

Last updated