RRigdesign system
Inputs

FAB

Floating action button for the single most frequent action on a screen. Glass overlay and elevated sheen.

Examples

Large 56 · Medium 48 · Small 40 · Extended

States

Rendered states (visual reference; the live example above is the accessible one)
DefaultHoverFocus visiblePressedDisabled
Large

Anatomy

FAB anatomy
#PartDescriptionPresence
1ContainerCircle or pill, 56 / 48 / 40pxRequired
2IconLeading glyph, decorativeRequired
3LabelExtended variant onlyOptional
4ShadowY 6px, blur 16Required

Specifications

SizesLarge 56px · Medium 48px · Small 40px
Corner radius28px (pill) at Large
Horizontal padding24px
Icon to label gap12px
ShadowY 6px, blur 16
Minimum footprint48px interaction area
GridStrict 8px grid

Interaction

Keyboard
KeyResult
Tab Shift+TabMoves focus to and from the control
EnterActivates
SpaceActivates on key up
Pointer and touch
TriggerResponse
HoverOverlay at 10% (hover-overlay-opacity); cursor stays default on non-links
PressScale to 0.97 in 100ms; released on pointer up
TouchTarget at least 44px, with a halo if the visual is smaller
ScrollExtended collapses to icon only while scrolling down, expands when scrolling up

Accessibility

role · button

1.4.10Reflow2.4.11Focus Not Obscured2.5.8Target Size (Minimum)4.1.2Name, Role, Value
Requirements
RequirementHow Rig meets it
NameIcon-only FAB needs aria-label
PositionNever covers content that cannot be scrolled out from under it (WCAG 2.4.11)
ReflowAt 400% zoom it stays reachable without horizontal scrolling

Read the matching WAI pattern ↗

Usage

Do and don’t
DoDon’t
Use for the single most frequent action on the screenDo not use more than one FAB per screen
Keep 16px from the screen edgeDo not hide the label for actions that are not obvious

Notes from the Figma file

  • Keep safe margins from the screen edge and from bottom navigation.