File: speeddial.md | Updated: 11/15/2025
Introducing PrimeReact v11 Alpha š„Learn More
SearchK
10.9.7
FEATURES
API
THEMING
PASS THROUGH
SpeedDial is a floating button with a popup menu.
Import#
import { SpeedDial } from 'primereact/speeddial';
Copy
Linear#
SpeedDial items are defined with the model property based on MenuModel API. Default orientation of the items is linear and direction property is used to define the position of the items related to the button.
Ā
Ā
Ā
Ā
Copy
Circle#
Items can be displayed around the button when type is set to circle. Additional radius property defines the radius of the circle.
Ā
Copy
Semi Circle#
When type is defined as semi-circle, items are displayed in a half-circle around the button.
Ā
Ā
Ā
Ā
Copy
Quarter Circle#
Setting type as quarter-circle displays the items at one of four corners of a button based on the direction.
Ā
Ā
Ā
Ā
Copy
Tooltip#
Items display a tooltip on hober when a standalone Tooltip is present with a target that matches the items.
Ā
Ā
Copy
Mask#
Adding mask property displays a modal layer behind the popup items.
Ā
Copy
Custom#
SpeedDial sample with an outlined button, custom icons and transitionDelay.
Ā
Copy
Accessibility#
SpeedDial component renders a native button element that implicitly includes any passed prop. Text to describe the button can be defined with the aria-labelledby or aria-label props. Addititonally the button includes includes aria-haspopup, aria-expanded for states along with aria-controls to define the relation between the popup and the button.
The popup overlay uses menu role on the list and each action item has a menuitem role with an aria-label as the menuitem label. The id of the menu refers to the aria-controls of the button.
<SpeedDial aria-label="Options" />
Copy
| Key | Function | | --- | --- | | enter | Toggles the visibility of the menu. | | space | Toggles the visibility of the menu. | | down arrow | Opens the menu and moves focus to the first item. | | up arrow | Opens the menu and moves focus to the last item. |
| Key | Function | | --- | --- | | enter | Actives the menuitem, closes the menu and sets focus on the menu button. | | escape | Closes the menu and sets focus on the menu button. | | arrow keys | Navigates between the menu items. | | home | Moves focus to the first item. | | end | Moves focus to the last item. |
Import
Linear
Circle
Semi Circle
Quarter Circle
Tooltip
Mask
Custom
Accessibility
PrimeReact 10.9.7 by PrimeTek