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 Cart Shopping Cart Hook
icon-eye-dark Created with Sketch. 2.410
React Native Form Validator Form Validation for React Native
icon-eye-dark Created with Sketch. 228
Sentry for React React Application Monitoring
💙 Sponsored by Friends
image-ring Created with Sketch.
Do you want to marry us? Subscribe to our newsletter!
Figmagic Generate Tokens for your Design System from Figma
icon-eye-dark Created with Sketch. 603
Rest Hooks Data Fetching Framework
icon-eye-dark Created with Sketch. 234