Skip to content

Toolbar

Controls in one row, bottoms aligned, wrapping on phones; trailing = the end action.

Group: Layout · Kind: macro · in the lite catalog

example

Open in the playground

The same specimen painted by React, SwiftUI, Compose and gpui.

exponential-ui-toolbar on Web
exponential-ui-toolbar on iOS
exponential-ui-toolbar on Android
exponential-ui-toolbar on Desktop
Prop Type Required Bindable Description
gap none | xs | sm | md | lg | xl – – The space between controls. Default "sm".

None.

  • trailing: one component by id

many

No basic catalog component maps here.

Box

Role: group

group of controls in reading order; the trailing action last

Not focusable; no keys.

Recipe parts: Toolbar/root Toolbar/spacer

Keyed by: :hover :pressed :focus :disabled :checked :open :selected :invalid :dragover

Themes · Write a theme

Box · Stack · Grid · Card · Separator · List · Resizable · ScrollArea