Xedoniumv1.26.2Search the docs (Ctrl K)View on GitHub
  • Getting started
  • Foundations
  • Layout
  • Typography
  • Inputs
  • Navigation
  • Feedback
  • Overlay
  • Data display
  • Charts
  • Date & time
  • Media
  • Application
  • Utilities
  • Hooks
  • Theme
  • Playground
  • Changelog
ankit.

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.