react-utils/overlays-focus-and-dismissal
OfficialEffortlessly build modals, popovers, and dialogs with focus and dismissal handling.
Authornoaignite
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill unit solves the challenge of building modals, popovers, and dialogs with proper focus and dismissal handling, enhancing the user experience by providing keyboard navigation and responsive behavior.
Core Features & Use Cases
- Focus and Dismissal: Manages focus restoration on overlay close and handles dismissals on outside interaction or Escape key.
- Inert Background: Prevents interaction with background content while an overlay is active.
- Use Cases: Suitable for implementing modals, popovers, and layered interfaces in web applications.
Quick Start
Implement a dismissible dialog with focus restoration using the useDismiss, useFocusReturn, and useInert hooks from the @noaignite/react-utils library.
Dependency Matrix
Required Modules
@noaignite/react-utils
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: react-utils/overlays-focus-and-dismissal Download link: https://github.com/noaignite/accelerator/archive/main.zip#react-utils-overlays-focus-and-dismissal Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.