Skip to content

Speed Dial

Pro

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.

  • Base UI
  • Motion
  • React 19
  • Tailwind CSS 4

Added Nov 9, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

Speed Dial needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
35
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

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

create-dial.tsx

SpeedDial

<div>
PropTypeDefaultDescription
side"bottom""inline-end""inline-start""top""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"default""gooey""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).
childrenReactNode—The trigger and the content. A dial has no payload, so no function children.
From Base UIMenu.RootBase UI docs
defaultOpenbooleanfalseWhether the menu is initially open. To render a controlled menu, use the open prop instead.
loopFocusbooleantrueWhether to loop keyboard focus back to the first item when the end of the list is reached while using the arrow keys.
highlightItemOnHoverbooleantrueWhether moving the pointer over items should highlight them. Disabling this prop allows CSS :hover to be differentiated from the :focus (data-highlighted) state.
...props<div> attributes—Every other attribute goes to the <div>.

SpeedDialTrigger

<button>
PropTypeDefaultDescription
classNamestring—
From Base UIMenu.TriggerBase UI docs
childrenReactNode—
disabledbooleanfalseWhether the component should ignore user interaction.
handleMenuHandle<unknown>—A handle to associate the trigger with a menu.
...props<button> attributes—Every other attribute goes to the <button>, with a ref.

SpeedDialContent

<div>
PropTypeDefaultDescription
classNamestring—
backdropbooleanfalseDim the page under the dial (Base UI Menu.Backdrop, the overlay backdrop color).
portalProps—Other Base UI props of the inner parts. A className here adds to the component classes.
positionerProps—
backdropPropsPopupPartProps<MenuBackdropProps>—
From Base UIMenu.PopupBase UI docs
childrenReactNode—
idstring—
finalFocus—Determines the element to focus when the menu is closed. - false: Do not move focus. - true: Move focus based on the default behavior (trigger or previously focused element). - RefObject: Move focus to the ref element. - function: Called with the interaction type (mouse, touch, pen, or keyboard). Return an element to focus, true to use the default behavior, or false/undefined to do nothing.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

SpeedDialItem

<div>
PropTypeDefaultDescription
classNamestring—
From Base UIMenu.ItemBase UI docs
onClick—The click handler for the menu item.
disabledbooleanfalseWhether the component should ignore user interaction.
labelstring—Overrides the text used for keyboard text navigation and filtering. Falls back to the rendered text when not provided.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

SpeedDialLinkItem

<a>
PropTypeDefaultDescription
classNamestring—
From Base UIMenu.LinkItemBase UI docs
labelstring—Overrides the text used for keyboard text navigation and filtering. Falls back to the rendered text when not provided.
idstring—
closeOnClickbooleanfalseWhether to close the menu when the item is clicked.
...props<a> attributes—Every other attribute goes to the <a>, with a ref.

SpeedDialLabel

<span>
PropTypeDefaultDescription
...props<span> attributes—Every other attribute goes to the <span>, with a ref.

AnimatedPlusIcon

<svg>
PropTypeDefaultDescription
variant"bulk""duotone""solid""stroke""twotone"—stroke (default): 1.5 strokes. solid: the body filled, inner details cut through. duotone: a 40% fill under the stroke. twotone: the details at 40%. bulk: the body filled at 40% with no outline, the details at full color.
corners"round""sharp"—round (default): round caps and joins, soft corners. sharp: square caps, miter joins.
openbooleanfalseOpen: the plus has turned into a cross (the action is "close"). Default: the plus.
...props<svg> attributes—Every other attribute goes to the <svg>, with a ref.
  • 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.
  • For more than six actions, nested actions, or checkable rows, use a Menu.
  • For one main action, use a Button.
EnterorSpaceOpens 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.
HomeorEndMoves to the first or the last action.
EscapeCloses the dial and puts the focus back on the trigger.

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.

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%

Built with

Installs with Speed Dial

  1. AddedSpeed Dial.
Open the release