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 Use Collection of React Hooks
icon-eye-dark Created with Sketch. 587
React Webcam Webcam Component
icon-eye-dark Created with Sketch. 1.704
Sentry for React React Error Monitoring
💙 Sponsored by Friends
image-ring Created with Sketch.
Do you want to marry us? Subscribe to our newsletter!
React Hook Form 📋 React Hooks for Form Validation
icon-eye-dark Created with Sketch. 1.224
React Markdown Markdown Component
icon-eye-dark Created with Sketch. 2.430