Skip to content
caliper ui pro docs

Speed dial

One round button that opens into a short column of labelled actions. The plus turns into a cross, the actions rise one after another on frosted chips, arrow keys move between them, and Escape or an outside press closes it.

Pro

Nothing created yet.

When to use

  • A canvas or phone screen with one main place to create from and three to five kinds of thing to create.
  • Maps, boards and editors where a toolbar would cover the work.

When not to use

  • One action; use a single button.
  • More than five actions or actions that need explaining; use a menu.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/speed-dial

Adds its 3 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

SpeedDial

3 props

Also accepts the native props of its root element and a ref.

PropTypeDefaultDescription
label *string—The button's name: "Create".
actions *readonly SpeedDialAction[]—
side"top" | "bottom""top"Which way the actions open from the button.

Keyboard

Escape
Closes or cancels, then returns focus to where it came from.

Accessibility

It is built on native elements and keeps aria-label, aria-hidden, aria-expanded and aria-controls 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/speed-dial.md

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

More in Actions