Back to skills
SKILL.md
Layers
ASecurityOverlay, modal, and popup components that render above the main content. Built on Floating UI for positioning and Framer Motion for animations. Most use focus trapping and backdrop support.
- 4 stars
- 0 votes
- 0 copies
- 1 view
- Added May 27, 2026
Works with
Security analysis
100/100Pro scans all 11 files and shows the line behind each finding
npx -y skills add reaviz/skills --skill layers --agent claude-codeAre you the author of Layers?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/reaviz-layers)# Layers
Overlay, modal, and popup components that render above the main content. Built on Floating UI for positioning and Framer Motion for animations. Most use focus trapping and backdrop support.
## Components
| Component | Description |
|-----------|-------------|
| **Backdrop** | Animated overlay backdrop behind modals and drawers |
| **Callout** | Inline alert banner with variant colors (+ SuccessCallout, ErrorCallout, etc.) |
| **ConfirmDialog** | Confirmation dialog with accept/reject + `useConfirmDialog` hook |
| **ContextMenu** | Right-click context menu with global single-open state |
| **Dialog** | Modal dialog with slots (DialogHeader, DialogContent, DialogFooter) + `useDialog` hook |
| **Drawer** | Slide-in panel (start/end/top/bottom) with slots + `useDrawer` hook |
| **Menu** | Dropdown menu anchored to a reference element |
| **Notification** | Toast system with `<Notifications>` provider and `useNotification` hook |
| **Popover** | Click-triggered content popover with focus trapping |
| **Tooltip** | Hover tooltip with delays, follow-cursor, and placement |
Files in this skill
- SKILL.md
- backdrop/SKILL.md
- callout/SKILL.md
- confirm-dialog/SKILL.md
- context-menu/SKILL.md
- dialog/SKILL.md
- drawer/SKILL.md
- menu/SKILL.md
- notification/SKILL.md
- popover/SKILL.md
- tooltip/SKILL.md
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.