Form usage
Button-toggle groups can act as compact single-select controls inside forms.
Button toggle form usage
Single-select alignment controls
Choose one alignment target at a time with the group wrapper driving selection.
Alignment controls (Plain-CSS)
Alignment controls (Tailwind CSS)
Text alignment
Selected: right
Multiple-select text-style toolbar
Use multiple mode when each pressed item represents an independent formatting state.
Formatting toolbar (Plain-CSS)
Formatting toolbar (Tailwind CSS)
Formatting toolbar
Active: bold, underline