modal-drawer-system - Accessible Modal & Drawer Component Generator
Generates accessible modal dialogs and drawer components with focus trap, ESC close, scroll lock, portal rendering, and ARIA attributes.
Tags
Updated: 2026-06-30Capabilities
Typical Inputs
What this skill does
- Create modal component
- Create drawer component
- Create confirmation dialog
- Create edit form modal
- Create detail view drawer
- Implement focus trap
- Implement body scroll lock
- Implement portal rendering
- Add ARIA attributes
- Add keyboard navigation
Inputs
- React project
- Component configuration (size, position, variant)
- Child content (React nodes)
Outputs
- Modal component source code
- Drawer component source code
- Confirmation dialog source code
- Edit form modal source code
Requirements
- React environment with hooks support
- react-dom for createPortal
- lucide-react for icons
- Tailwind CSS for styling
- Next.js client component support
