Toggle

  • Usage

    This component contains a button that will toggle between two states without changing its text content.

    The state is reflected in the value of the attribute aria-pressed.

    This component can be used to submit a form, either via the default action set on the parent form element, or via a specific formaction provided as props to the Button component.

    Resources

    About

    Website and illustrations by Patricia Boh.