Good fit for
- Catalog filters
- View switchers
- Toolbars
This controls pattern works best when its purpose is clear in the surrounding page hierarchy.
Open experiment
A small segmented control for changing density or view mode using native buttons and mutually exclusive aria-pressed states.
Implementation field notes
The preview and source are only the starting point. Use these notes to decide where the component fits, preserve its accessibility contract, and verify the adapted result.
This controls pattern works best when its purpose is clear in the surrounding page hierarchy.
Related learning