Skip to content
GitHub

Action Bar

Display an action bar for selected items.

Installation

Usage

Controlled

Examples

Positioning

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

Offset

Use positioning.offset 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")] utility class controls the action bar internal padding.

Breakpoint utilities change the action bar spacing at different screen sizes.

API Reference

ActionBar

Root context provider. Wraps the trigger and floating toolbar.

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.

ActionBarSelectionTrigger

Shows the number of selected items or a custom label.

ActionBarBody

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