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(4).

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

API Reference

ActionBar

Root component.

ActionBarContent

Floating toolbar positioned above selected items.

ActionBarTrigger

Opens the action bar on click. Typically wraps the selection trigger.

ActionBarClose

Closes the action bar and clears the selection.

ActionBarValue

Shows the number of selected items or a custom label.

ActionBarBody

Holds the action buttons. Use for bulk actions on selected items.