Skip to content
Binary UIKit reference Stable

Toolbar

Data-driven toolbar with roving focus, action presentations and tones, and toggle groups.

Use Toolbar for related actions that need coordinated keyboard focus. Choose icon, label, or both for each item. Give every icon-only action a specific label. For toggle groups, `value` and `defaultValue` initialize uncontrolled state. Set `controlled: true` when each update must read the current `value`.

Interactive example

Loading interactive example

API

MemberTypeKindRequiredDefault
itemsToolbarItem[]propYes
labelstringpropNoundefined
sizeControlSizepropNo'md'

Source

Loading source