Self-hosted alternatives to focus-trap-react
200 self-hosted apps like focus-trap-react, closest match first.
Top picks
- S
Storybook
LaunchStorybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and documentation. It's open source and free.
Open sourceSelf-hosted
- M

Matx React
LaunchOwn your business software instead of renting it. POS, inventory, HR/CRM, restaurant management, and LMS platforms — one-time price, self-hosted, lifetime…
Open sourceSelf-hosted
- F
Focalboard
LaunchFocalboard is an open source, self-hosted alternative to Trello, Notion, and Asana. It helps technical teams centralize, plan, and track all their work in one place, maintaining a single source of truth to keep everyone aligned and producti
Open sourceSelf-hosted
- F

Flood
LaunchA modern web UI for various torrent clients with a Node.js backend and React frontend.
Open sourceSelf-hosted
- F
Focalboard
LaunchFocalboard is an open-source, multilingual, self-hosted project management tool that the project positions as an alternative to Trello, Notion and Asana. It helps you define, organize, track and manage work across boards. The repository car
Open sourceSelf-hosted
- H

Hot Updater
LaunchHot Updater is a self-hosted over-the-air update system for React Native apps, positioned as an alternative to CodePush. It lets you push JavaScript and asset updates to users' devices without going through app store review, and it keeps th
Open sourceSelf-hosted
More like focus-trap-react
Antigravity Phone Chat
Real-time mobile monitor & remote control for Antigravity AI sessions
About focus-trap-react

focus-trap-react
A React component that traps focus
focus-trap-react is a React component that traps keyboard focus inside one of its children, which is useful for an accessible modal. It is a thin wrapper around the focus-trap library and adds React-specific handling. The trap activates automatically when the component mounts, unless you change that, and it deactivates when the component unmounts. Props can activate, deactivate, pause and unpause the trap. The component expects exactly one child element, which can be an HTML element or another component that contains focusable elements, and it cannot be a Fragment, because it needs a reference to the underlying DOM element. The README requires React 18.0.0 or later. It notes that the library no longer sets propTypes or defaultProps, since React 19 removed them, and it suggests TypeScript or a runtime validation library instead. Support is aimed at desktop browsers in current versions of Chrome, Edge, Firefox, Safari and Opera, and Internet Explorer is no longer supported. It suits React developers building dialogs, drawers and other overlays that must keep keyboard users inside them.
- Price
- Free
- Made by
- davidtheclark
- Category
- UI Libraries
- Website
- github.com/focus-trap/focus-trap-react


