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
| Feature | Status |
|---|---|
| Right-to-left | Not applicable |
| Dark mode | Not applicable |
| Density | Not applicable |
| Server rendering | Client component |
| Reduced motion | Not applicable |
Accessibility
No ARIA widget pattern. Not yet audited.
Tests
Covered by unit, accessibility (axe), interaction and visual tests.