Interaction catalogue
Start with the task you want to improve. Every card names the user-facing job first and the export to import second.
Search and explore the implemented API. Every primitive has a dedicated reference, and selected utilities have working examples.
Submenus, keyboard menus, link preloading and returning to a previous list position.
menuAim()Nested menus and mega menus
NavigationMenus & navigationLoad a link when someone is likely to open itintentPrefetch()Safe navigation links
PerformanceMenus & navigationFind a menu item by typingtypeahead()Keyboard prefix search
NavigationMenus & navigationRestore a list and its scroll positionnavigationMemory()Restore lists, filters, scroll
NavigationHover previews, tooltips, popovers, outside clicks, scroll locking and dragging.
hoverIntent()Hover cards, navigation
PointerHover & overlaysShow hints on toolbar buttonstooltipGroup()Adjacent toolbar tips
NavigationHover & overlaysKeep popovers inside the screenfloating()Flip/shift/size floating panels
NavigationHover & overlaysStop the page moving behind a dialoglockScroll()Nested overlays
AccessibilityHover & overlaysClose a popover after an outside clickoutsidePress()Dismiss on outside pointer press
NavigationHover & overlaysStart dragging after clear movementdragIntent()Drag threshold and capture
PointerField errors, input cleanup, draft recovery and unsaved-change warnings.
draftRecovery()Long nonsensitive forms
FormsForms & draftsShow an error after someone edits a fieldfieldValidation()Validate after blur, then on correction
FormsForms & draftsClean up common input formattingnormalize()Forgiving input
FormsForms & draftsMove to the first invalid fieldfocusInvalid()Focus visible invalid field
FormsForms & draftsWarn before leaving unsaved editsunsavedChanges()Navigation warning
FormsResponsive search, current results, useful loading states and deferred content.
debounce()Search, draft updates
PerformanceSearch & loadingIgnore outdated search responseslatestRequest()Race-free search
PerformanceSearch & loadingPrevent repeat submissions while savingsingleFlight()Prevent duplicate in-flight submissions
PerformanceSearch & loadingAvoid flashes from very short loading statesloadingIndicator()Avoid spinner flashes
PerformanceSearch & loadingShow previous results while refreshingstaleCache()Cached GET data
PerformanceSearch & loadingLoad content as it nears the screennearViewport()Lazy secondary content
PerformanceInstant updates, undo windows and screen-reader announcements.
Keyboard focus, input type and motion preferences.
captureFocus()Restore focus after dialogs
AccessibilityKeyboard & motionMove through a toolbar with arrow keysrovingFocus()Composite widget keyboard navigation
AccessibilityKeyboard & motionFollow the reduced-motion settingmotionPreference()Reduced motion
MotionKeyboard & motionLet an animation reverse smoothlyinterruptibleMotion()Reversible visual transitions
MotionKeyboard & motionDetect keyboard, mouse or touch inputinputModality()Last input method
Accessibility