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.
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
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.
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.mdThe index of every part is at /llms.txt.