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 Three Fiber React Renderer for Three.js
icon-eye-dark Created with Sketch. 1.320
React Scroll Rotate Rotate elements based on scroll position
icon-eye-dark Created with Sketch. 3.039
Sentry for React React Application Monitoring
πŸ’™ Sponsored by Friends
We’re hosting on Digital Ocean! πŸ’™ Try it today and get a free $100 credit.
React Thermal Printer React for Thermal Printing
icon-eye-dark Created with Sketch. 770
Viselect React Visual DOM-Selection Library
icon-eye-dark Created with Sketch. 94