Skip to content

Action Bar

Display an action bar for selected items.

Installation

Anatomy

Usage

Controlled

Examples

Positioning

Use the positioning.placement prop to position the action bar.

Gutter

Use positioning.gutter to control the distance from the bottom edge.

Close Trigger

With Dialog

With Menu

Table

Orders with checkbox selection and action bar.
IDNameStatusAmount
SO-01Macbook Pro 16progress245,12 $
SO-02Apple Watch Series 9transit122,18 $
SO-03AirPods Maxpending89,50 $
SO-04iPad Pro 13pending310,00 $
SO-05iPhone 15 Pro Maxtransit156,75 $

Custom Spacing

The [--space:--spacing("value")] on ActionBarContent controls the internal spacing.

Default spacing is --spacing(2).

You can use breakpoint utilities to change the internal spacing at different screen sizes.

API Reference

ActionBar

Root component. Provides open state and positioning to descendants.

ActionBarContent

Root component.

ActionBarTrigger

Button that opens the action bar.

ActionBarValue

Displays the selection count.

ActionBarSeparator

Vertical rule. Renders a Separator.

ActionBarBody

Flex row for primary actions.

ActionBarClose

Closes the action bar.