---
title: "Speed Dial"
description: "One round button that fans out a short list of actions with labels. It opens to four sides in three sizes, and the gooey look pulls each action out like jelly."
url: https://gelatinui.com/components/speed-dial
markdown_url: https://gelatinui.com/components/speed-dial.md
access: pro
install: "npx shadcn@latest add @gelatin-ui-pro/speed-dial"
version: "2026-11-09"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Speed Dial

> One round button that fans out a short list of actions with labels. It opens to four sides in three sizes, and the gooey look pulls each action out like jelly.

Page: https://gelatinui.com/components/speed-dial

## When to use it

Best for: Three to six quick actions behind one round button that floats over the page.

- Use it for three to six actions of the same kind, such as the things you can create.
- Put a `SpeedDialLabel` in each action on `top` and `bottom`, so touch users see the names.
- Set `variant="gooey"` where a playful motion fits: each action melts out of the trigger.
- Set `backdrop` on the content on a phone, so the page under the dial dims.

## When not to use it

- For more than six actions, nested actions, or checkable rows, use a [Menu](https://gelatinui.com/components/menu.md).
- For one main action, use a [Button](https://gelatinui.com/components/button.md).

## Notes for agents

- Put `SpeedDialItem` and `SpeedDialLinkItem` parts straight in `SpeedDialContent`: each one takes its place from its order.
- Give the trigger an `aria-label`. Give an action with no `SpeedDialLabel` an `aria-label`.
- On `inline-start` and `inline-end` a label shows only above the highlighted action, as a tooltip.
- `modal` is false by default, so the page stays usable while the dial is open.
- A dial that the page opens before any press (`open` set from code) keeps the page focus, and its close gives the focus back to the trigger only when the focus was in the dial.

## Anatomy

```text
SpeedDial
├─ SpeedDialTrigger (0..n)
├─ SpeedDialContent (0..n)
├─ SpeedDialItem (0..n)
├─ SpeedDialLinkItem (0..n)
└─ SpeedDialLabel (0..n)
```

## API reference

### SpeedDial

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `side` | `SpeedDialSide` | "top" | The side the actions open to. Default `top`. |
| `size` | `"default" \| "lg" \| "sm"` | "default" | The trigger and action sizes: `sm` 40/32, `default` 48/40, `lg` 56/44 px. |
| `variant` | `SpeedDialVariant` | "default" | `default`: popover actions with a border. `gooey`: primary actions that melt out of the trigger and back in (an SVG goo filter on a blob layer behind them). |
| `children` | `ReactNode` |  | The trigger and the content. A dial has no payload, so no function children. |

Also takes every prop of Base UI `Menu.Root`: https://base-ui.com/react/components/menu

### SpeedDialTrigger

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `className` | `string` |  |  |

Also takes every prop of Base UI `Menu.Trigger`: https://base-ui.com/react/components/menu

### SpeedDialContent

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `className` | `string` |  |  |
| `backdrop` | `boolean` | false | Dim the page under the dial (Base UI `Menu.Backdrop`, the overlay backdrop color). |
| `portalProps` | `Omit` |  | Other Base UI props of the inner parts. A `className` here adds to the component classes. |
| `positionerProps` | `PopupPartProps` |  |  |
| `backdropProps` | `PopupPartProps<MenuBackdropProps>` |  |  |

Also takes every prop of Base UI `Menu.Popup`: https://base-ui.com/react/components/menu

### SpeedDialItem

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `className` | `string` |  |  |

Also takes every prop of Base UI `Menu.Item`: https://base-ui.com/react/components/menu

### SpeedDialLinkItem

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `className` | `string` |  |  |

Also takes every prop of Base UI `Menu.LinkItem`: https://base-ui.com/react/components/menu

### SpeedDialLabel

No props of its own: `className`, `children`, and every other prop go to the element it renders.

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| SpeedDial | `speed-dial` |  | `--speed-dial-goo` |  |
| SpeedDialTrigger | `speed-dial-trigger` | `data-disabled`, `data-popup-open` |  | `hit-area`, `motion-timing` |
| SpeedDialContent | `speed-dial-content` |  |  |  |
| SpeedDialItem | `speed-dial-item` | `data-disabled`, `data-highlighted` |  | `hit-area` |
| SpeedDialLinkItem | `speed-dial-link-item` | `data-disabled`, `data-highlighted` |  | `hit-area` |
| SpeedDialLabel | `speed-dial-label` | `data-highlighted` | `--radius`, `--speed-dial-reveal` | `motion-timing` |

## Usage

Put the trigger and the content in the root. Put a label in each action, so it has a name.

```tsx title="create-dial.tsx"
import { FileArrowUpIcon, PencilIcon, UserPlusIcon } from "@phosphor-icons/react/ssr";

import {
  SpeedDial,
  SpeedDialContent,
  SpeedDialItem,
  SpeedDialLabel,
  SpeedDialTrigger,
} from "@/components/pro/actions/speed-dial";

export function CreateDial() {
  return (
    <SpeedDial variant="gooey">
      <SpeedDialTrigger aria-label="Create" />
      <SpeedDialContent>
        <SpeedDialItem onClick={() => console.log("note")}>
          <PencilIcon />
          <SpeedDialLabel>New note</SpeedDialLabel>
        </SpeedDialItem>
        <SpeedDialItem>
          <FileArrowUpIcon />
          <SpeedDialLabel>Upload file</SpeedDialLabel>
        </SpeedDialItem>
        <SpeedDialItem>
          <UserPlusIcon />
          <SpeedDialLabel>Invite people</SpeedDialLabel>
        </SpeedDialItem>
      </SpeedDialContent>
    </SpeedDial>
  );
}
```

## Compose

Rules:

- Compose the parts (`compose-parts`): Build each item from its named parts as children, and pass your text and icons in as parts.
- Every state is designed (`every-state`): Give each view of data its loading, empty, and error states: a skeleton in the final layout, an `Empty` with an illustration and one next action, and an error that says what failed and how to retry.

## Add it

```bash
npx shadcn@latest add @gelatin-ui-pro/speed-dial
```

It adds 39 registry items: 36 files, 5213 lines, and the npm packages `@base-ui/react`, `@xstate/react`, `clsx`, `motion`, `tailwind-merge`, `tailwind-variants`, `xstate`.

## Built on

- [Animated Plus Icon](https://gelatinui.com/components/animated-plus-icon.md)

## For AI agents

- Every item, one file: https://gelatinui.com/llms.txt
- MCP server (`search_items`, `get_item`, `get_install_plan`): https://gelatinui.com/mcp

## Related

- [Action Bar](https://gelatinui.com/components/action-bar.md)
- [Magnifying Dock](https://gelatinui.com/components/magnifying-dock.md)
- [Animated Plus Icon](https://gelatinui.com/components/animated-plus-icon.md)
- [Button](https://gelatinui.com/components/button.md)

## Keyboard

| Keys | Action |
| --- | --- |
| Enter, Space | Opens the dial from the trigger, or runs the highlighted action. |
| ↑ ↓ | Moves between the actions on `top` and `bottom`. |
| ← → | Moves between the actions on `inline-start` and `inline-end`. |
| Home, End | Moves to the first or the last action. |
| Escape | Closes the dial and puts the focus back on the trigger. |

## Accessibility

The dial is a Base UI Menu: the trigger is a button with its expanded state, and each action is a `menuitem` with arrow keys, typeahead, and Escape.

A `SpeedDialLabel` sits inside its action, so it is the name of the action, and a press on it runs the action.

The trigger is 40 to 56px and each action keeps a 44px target on touch (`hit-area`). The goo layer is `aria-hidden`.

## Motion

| Part | Motion |
| --- | --- |
| Gooey actions | panelBounce · out of the trigger center, 40ms apart, past the place by about 10%, then rest |
| Gooey close | panel · 260ms · ease-panel, farthest action first |
| Default actions | popup · 150ms in, 120ms out · 8px toward the trigger, 30ms apart |
| Trigger icon | panelBounce · the plus turns into a cross |
| Trigger press | press · 100ms · scale to 96% |
