Modals & overlays

Components

Component

A menu button following the ARIA menu pattern: arrow keys with wrap-around, Home and End, typeahead, Escape to close and return focus, Tab to leave, and click-outside to dismiss. Composable parts for groups with labels, separators, icons, keyboard shortcut hints with aria-keyshortcuts, disabled and destructive items, and checkbox items that stay open while toggling.

Modals & overlays · Chomodo Studio 0 likes 0 installs
Component

A ⌘K / Ctrl+K command palette in a modal dialog. Commands are grouped, filtered with a forgiving fuzzy match on labels and keywords (matched letters are highlighted), and run with the arrow keys and Enter or a click. Includes an empty state, keyboard shortcut hints, a footer legend, a result count for screen readers, focus restore on close, scroll lock and a useModKey helper for showing ⌘ or Ctrl.

Modals & overlays · Chomodo Studio 0 likes 0 installs
Component

A tooltip that opens on hover after a short delay and immediately on keyboard focus, closes on blur, pointer down or Escape (without closing a dialog around it), and stays open while the pointer moves onto it. Four sides with an arrow, a skip-delay when moving between triggers, aria-describedby wiring on the trigger, controlled or uncontrolled state, and a TooltipKbd helper for shortcuts.

Modals & overlays · Chomodo Studio 0 likes 0 installs