made with react.js

Focus Trap React

Trap Focus within a DOM Node

Visit Site

Description

Trap Focus within a DOM Node

"focus-trap-react is a React component that traps focus.

It is a light wrapper around focus-trap, tailored to React-specific needs. Use it to create and manage a focus trap. You might want it for, say, building an accessible modal.

It automatically activates when mounted, deactivates when unmounted and can be activated/deactivated, paused/unpaused via props."


Social Media Links

React Haiku Collection of React Hooks & Utilities
icon-eye-dark Created with Sketch. 1.111
Auth0 for React SDKs for the Identity Platform Auth0
icon-eye-dark Created with Sketch. 241
Sentry for React React Application Monitoring
💙 Sponsored by Friends
React DnD Drag and Drop Utilities
icon-eye-dark Created with Sketch. 782
TanStack Query React Asynchronous State Management
icon-eye-dark Created with Sketch. 1.150
React Thermal Printer React for Thermal Printing
icon-eye-dark Created with Sketch. 4.230