FragiolaPrimitives
Forms and selection

Text alignment

A ToggleGroup of four alignments, one pressed at a time, applied to a paragraph: the group is one tab stop, the arrow keys move between the toggles, and pressing the pressed one releases it.

  • ToggleGroup
  • Toggle
  • value
  • onValueChange
  • aria-label
  • roving focus
Read the guide
Theme
Framework