Qeetrix

Focus Trap

Component wrapper around `useFocusTrap`.

Beta

Ready to use, but its API may still change before it is marked stable.

Usage

Import

import { FocusTrap } from "@qeetrix/ui";

It can also be imported on its own from @qeetrix/ui/components/focus-trap.

Support

FeatureStatus
Right-to-leftNot applicable
Dark modeNot applicable
DensityNot applicable
Server renderingClient component
Reduced motionNot applicable

Accessibility

No ARIA widget pattern. Not yet audited.

Tests

Covered by unit, accessibility (axe), interaction and visual tests.