Skip to content
caliper ui pro docs

Expandable action bar

A compact bar of actions that expands to reveal labels.

Pro

Multi-currency matching is live for every workspace. Thanks to everyone who tested it with real bank feeds.

12 people liked this.

When to use

  • Message and post actions that should stay quiet until needed.
  • A row of three to five actions.

When not to use

  • There are more than six actions; use an overflow menu.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/expandable-action-bar

Adds its 2 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

ExpandableActionBar

8 props
PropTypeDefault
items *readonly BarAction[]—
label *string—
expandedboolean—
defaultExpandedbooleanfalse
onExpandedChange((expanded: boolean) => void)—
activeIdstring—
onAction((item: BarAction) => void)—
classNamestring—

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It exposes toolbar semantics, with aria-label and aria-pressed kept in step with state.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/expandable-action-bar.md

The index of every part is at /llms.txt.

More in Actions