Utilities
5 components
Helpers for focus, portals, shortcuts, reordering and large lists.
FocusTrap
Keeps Tab inside while active, focuses the first control (or an element with data-autofocus), and restores …
Portal
<Portal> renders children into document.body (or container) so clipped or transformed ancestors cannot trap…
SortableList (drag and drop)
Reorder by dragging, or focus a row's handle and press Up / Down. Items need a unique key; onChange receive…
useKeyboardShortcuts
mod is Cmd on macOS and Ctrl elsewhere. Shortcuts without a modifier are ignored while typing in a field. M…
VirtualList
Renders only the visible rows of a long list. Rows need a fixed itemHeight.