Stack-Based State Management
Manage multiple popups using a centralized stack instead of scattered boolean states.
OverlayLab provides a scalable way to manage modals, drawers, and overlays using a stack-based architecture.
Manage multiple popups using a centralized stack instead of scattered boolean states.
Fully customizable UI with no enforced styles, giving you complete design control
Built-in focus trapping, keyboard navigation, and ARIA-compliant dialog semantics.
Clean and scalable API using compound components for better developer experience.
Handles outside clicks, escape key, and scroll locking automatically.
Supports modals, drawers, and responsive sidebars with shared logic.
OverlayLab can be used to power real-world UI interactions across different types of applications.
Learn how OverlayLab works.
Explore the architecture, stack system, and accessibility patterns used to build a scalable popup system from scratch.
<Popup>
<Popup.Trigger>Open</Popup.Trigger>
<Popup.Content>
<Popup.Header>
<Popup.Title>Transfer</Popup.Title>
</Popup.Header>
</Popup.Content>
</Popup>