Button

Speed-Dial FAB

One button instead of a toolbar: tapping the plus fans the actions out, a few frames apart from each other and each on a spring.

React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.

What you can change

  • the contents of the up through the actions prop: a label, an icon and an onSelect handler per action
  • the layout through the direction prop: up spreads the actions along an up-and-left arc, row lines them up sideways
  • the caption of the main button (label) — the plus carries no visible text

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme
Speed-Dial FAB — One button instead of a toolbar: tapping the plus fans the actions out, a few frames apart from each other and each on a spring.

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.club/c/button-075?lang=en&theme=dark

2Paste into the chat
3Get it in your project

Not sure where to paste it? Step-by-step guide

Show the full instructions

What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.

Loading…

How to use

<Button075 label="Actions" direction="up" />

A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.

Settings

Main button label
label · default: Actions
Layout
direction · default: up
Accent
accent · default: theme colour
Backdrop
background · default: theme colour

FAQ

How do I add Speed-Dial FAB with Cursor or Claude Code?
Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
What does Speed-Dial FAB depend on?
No npm packages beyond React and Tailwind CSS.
What can I change in Speed-Dial FAB?
Adapt: the contents of the up through the actions prop: a label, an icon and an onSelect handler per action; the layout through the direction prop: up spreads the actions along an up-and-left arc, row lines them up sideways; the caption of the main button (label) — the plus carries no visible text. Keep as installed: the stagger on opening only: the buttons must fold back at once, otherwise closing outlasts the decision to leave; the resting position of the actions right under the main button — the up has to look like it came out of it, not appeared beside it; aria-expanded on the main button and disabled on closed actions: a shifted transparent button otherwise stays in the Tab order.
Is Speed-Dial FAB free?
The preview is open to everyone; the source is available with a PRO subscription.

For developers

npx shadcn@latest add https://vibeui.club/r/pro/button-075.json

This command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options

Technical notes

The component is self-contained: one file, no dependencies, its own palette in the local --vibeui-button-075-* variables. The action buttons sit exactly under the main one and travel out through a .5s spring on translate and scale; the stagger is transition-delay keyed on data-index and applies to opening only. The open state is announced through aria-expanded, and closed actions are disabled so they stay out of the Tab order. Escape and a pointerdown outside the root close the up and hand focus back to the main button; both listeners live on the document only while the up is open. The direction prop switches the layout between an up-and-left up and a leftward row. The component never draws more than four actions.

Tags

  • button
  • fab
  • speed-dial
  • menu
  • stagger
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…