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

Obsidian Dependency Injection Framework
icon-eye-dark Created with Sketch. 275
Effector React Write Business Logic with Ease
icon-eye-dark Created with Sketch. 1.670
Sentry for React React Application Monitoring
💙 Sponsored by Friends
React Haiku Collection of React Hooks & Utilities
icon-eye-dark Created with Sketch. 1.117
Jafar Just Another Form Application Renderer
icon-eye-dark Created with Sketch. 609
React I18nify Translation & Localization Library
icon-eye-dark Created with Sketch. 376