All components
Core
Focus
Focus trap, initial focus and safe focus restoration helpers.
Infrastructure, not interface
Focus has no visual output of its own: it is the behaviour other primitives are built on. The documentation shows how to use it in a widget of your own.
Read the Focus documentationInstall
npm install @quartz-headless/core
// exports
import { createFocusTrap, createFocusRestorer } from '@quartz-headless/core';Prefer owning the source? Copy it with the CLI.