Skip to content
View Markdown

Toolbar ​

Actions placed in the navigation bar or bottom bar.

tsx
import { ToolbarItem, ToolbarItemGroup, ToolbarSpacer, Button, LabeledContent } from '@satinhq/kit'

Example ​

Click Add Stop in the bottom bar, then Reset.

Place an action ​

Pass toolbar content through Screen.toolbar. Use ToolbarItem with topBarTrailing, topBarLeading or bottomBar. Its Button receives the contextual toolbar style.

ToolbarItemGroup puts its children in the same placement. ToolbarSpacer separates groups with fixed or flexible spacing.

Use DefaultToolbarItem kind="search" with a screen searchable configuration to share the bottom bar with search.

API ​

Scroll horizontally to read every column.

PropTypeDescription
placementToolbarItemProps[placement]Where actions appear.
childrenReactNodeButtons and other controls.
sizing'fixed' | ToolbarSpacer`Spacing behavior on ToolbarSpacer.
kind'search'The search item supplied by the framework.

Related: Quick start, List, Screen.

:::

Satin runs on the Lumen rendering engine and is open source under the MIT License.