Trap Packages

focus-trap-js

Trap focus inside specified HTML element. Vanilla JS with size <0.5kb. No dependencies. Easy to use with React, Angular or Raw Javascript

1.1.0 • Published 5 years ago

react-focus-marshal

Traps focus within a DOM node — subsequently mounted traps will pause others and take focus responsibility until they unmount.

1.0.1 • Published 7 years ago