WhatTheStar · /design
primitives toggle

    Primitive · v1

    Toggle

    A binary control with spring-animated thumb. Used wherever a single setting flips on or off.

    When to use

    A non-destructive on/off setting whose result is immediately visible. If the off state hides information that the user might miss, prefer a Sheet with explicit Save/Cancel.

    Anti-patterns

    Don't use as a navigation control. Don't pair with a Save button. Don't use for tri-state — promote to a segmented control.