Toggle button group
A toggle button group is a single and multi selection pattern that provides increased visual emphasis for the available choices.
- CSS
- Marko
- React

Quick
They should be lightweight and short enough to scan instantly.
Informative
Each option should be self-explanatory, with clear content that make decisions easy.
Toggle buttons work best when options stand on their own, helping create a strong visual hierarchy that guides users. For situations where the selection option is isolated, toggle buttons make the experience clear and focused.
- Use toggle buttons when selection options exist in isolation, meaning they are not part of a multiple selection groups.
- Avoid toggle buttons when multiple selection sections appear on the same page or layout. In these cases, use radio buttons for single-choice selections or checkboxes for multiple-choice selections.
Size
It is important to ensure you follow the sizing guide for each toggle button variant. The various styles and layouts adhere to different minimum and maximum sizing rules.

































