The PrimeNGDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Nettalco/nettalco-theme/llms.txt
Use this file to discover all available pages before exploring further.
p-speeddial component renders a floating action button (FAB) that expands into a radial or linear group of action items on click or hover. Nettalco Theme provides a lean token set for the SpeedDial — gap and transition duration — while the main FAB button and action item buttons inherit their visual styling from the Nettalco Button preset, keeping colors, border radius, and focus behavior consistent with the rest of the application.
Basic Usage
Component Setup (TypeScript)
Positioning Variants
Open on Hover
Custom Trigger Button
With Tooltips
Mask / Overlay Backdrop
Design Tokens
Nettalco Theme defines two tokens forSpeedDial. Visual styles for the trigger and action buttons are inherited from the Button component tokens.
| Token | Value | Description |
|---|---|---|
speeddial.root.gap | 0.5rem | Space between the trigger button and each action item button, and between action items when expanded |
speeddial.root.transitionDuration | {transition.duration} | CSS transition duration for the expand/collapse animation |
The trigger FAB button and each action item button are rendered as standard PrimeNG
Button elements. Their border radius, colors, focus ring, padding, and shadow all come from button.* tokens in the Nettalco preset. To change the visual style of SpeedDial’s buttons, update the relevant Button design tokens.Nettalco-Specific Customizations
Shared transition duration reference.speeddial.root.transitionDuration resolves to {transition.duration} — the global timing token used across overlays, drawers, and tooltips in the Nettalco preset. This means all animated components in the application expand, collapse, and fade at a matching speed, providing perceptual consistency.
Gap aligned with Button spacing. The 0.5rem gap between action items mirrors button.root.gap (also 0.5rem), which governs the space between a button’s icon and label. Using the same base spacing unit keeps the SpeedDial’s action cluster visually proportional to single-button icon/label pairs.
Button token inheritance. Because the SpeedDial’s action items are Button components, they automatically receive Nettalco’s Navy primary color, focus-ring suppressed shadow, and 6px border radius. No separate color overrides are needed for the SpeedDial — updating button.* tokens propagates through automatically.
Minimal footprint by design. The two-token preset for SpeedDial is intentional: PrimeNG’s Aura base handles the detailed animation keyframes and stacking context, while Nettalco only needs to align gap and timing with the broader design system. This avoids redundant token definitions and makes the preset easier to maintain.