Showing 1-20 of 79,139 packages
Style elements when they are focused or contain a focused element
Use the :focus-within pseudo-selector in CSS
Trap focus within a DOM node.
Small vanilla javascript that feature detect the :focus-within pseudo selector and polyfills it with a standard css class if necessary.
Manage focus within a page
A React-based "polyfill" for a focus-within-like experience.
Vue component to trap the focus within a DOM element
A declarative library for handling hotkeys and focus within a React application
TypeScript definitions for focus-within
A lightweight web component that traps focus within a DOM node
Tiny (~1Kb) React hooks for isolating focus within subsections of the DOM.
Trap focus within a DOM node.
A svelte directive that will trap and wrap focus within an element.
A declarative library for handling hotkeys and focus within a React application
Manage and trap focus within an element
A react hook for detecting current DOM focus within a given HTML element.
A lightweight web component that traps focus within a DOM node
A declarative library for handling hotkeys and focus within a React application
A react hook to trap the focus within a reference
Chakra UI Vue | A component to trap focus within a dom element it is useful for modals dialogs and popovers component