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 Cancelable Make Cancelable Requests with React Hooks
icon-eye-dark Created with Sketch. 386
Data Driven Forms Form Rendering Library
icon-eye-dark Created with Sketch. 369
Sentry for React React Application Monitoring
💙 Sponsored by Friends
image-koala Created with Sketch.
Make this Koala happy and follow us on X!
React Responsive Media Queries in React
icon-eye-dark Created with Sketch. 647
React Union React for CMS and Portals
icon-eye-dark Created with Sketch. 491