Skip to content
Design System
GitHub

A limit that may be unlimited: a switch for Unlimited (`null`) and a number for any limit, 0 included, so a cleared box never has to guess which was meant.

Roles

What a screen reader is told each part is, measured in the examples on the Overview tab.

  • button
  • switch
  • Follows the WAI-ARIA pattern Switch.

Keyboard

No keys of its own. Tab reaches each control in it, and each works as the browser's own button, link or field does.

Colour contrast

Computed from the shipped theme for the colours this component uses, on page and card backgrounds; the lower of the two is shown. WCAG 2.2 AA.