Utilities
Helpers and primitives for formatting, rendering, and composing your interfaces.
Low-level utilities that complement the component library. Browse the full list below.
Format Byte
Used to format byte values with various options and units
Format Number
Used to format numbers to a specific locale and options
Format Time
Used to format time values to a specific locale and options
Format Relative Time
Used to format relative time to a specific locale and options
Client Only
Render content only on the client side.
Download Trigger
Trigger file downloads programmatically.
Environment
Set up components for custom environments like iframes, Shadow DOM, or Electron.
Focus Trap
Trap focus within a specified container.
Frame
Used to render a component in an iframe
Highlight
Used to emphasize specific words or phrases within a larger body of text.
Hotkeys
Register keyboard shortcuts, sequences and scopes, and read them back to build a command palette.
JSON Tree View
A component that displays JSON data in an interactive, collapsible tree structure.
Virtualizer
Render large lists, grids, and window-scrolled content by only mounting the items in view.
Locale
Locale provider for setting the locale and direction of the app.
Presence
Helps control the rendering and unmounting of your content based on a given state.
Swap
Animate between two visual states with smooth transitions.