OutlineSelect
An outline select: level (0–2) expresses hierarchical indentation, suited to tables of contents and similar hierarchical lists.
Basic usage
Current item: intro
Levels and groups
levelis 0–2 (out-of-range is clamped); the theme only provides three indentation levels.- Options without a
valuerender as group headings, per the Selection and options contract. - Keyboard: with the group focused, ↑↓←→ move the highlight and Enter chooses; Home/End/PageUp/PageDown are enabled via
handleNavigationKeys, andlistWrapsAroundcontrols wrapping — exactly as in Select.
API
Inherits Select props (value / defaultValue / onChange / disabled / handleNavigationKeys / listWrapsAround, etc.); the differences are:
outline is fixed on by the component and cannot be overridden.
See also
- The base selection list: Select
- Option data and the keyboard focus model: Selection and options