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

Styled System Style props for rapid UI development
icon-eye-dark Created with Sketch. 673
LiveKit Components React React SDK for High-Performance WebRTC
icon-eye-dark Created with Sketch. 656
Sentry for React React Error Monitoring
πŸ’™ Sponsored by Friends
We’re hosting on Digital Ocean! πŸ’™ Try it today and get a free $100 credit.
Reatom State Management Library
icon-eye-dark Created with Sketch. 101
react-call Call your React Components
icon-eye-dark Created with Sketch. 45