Overlays
Popover
Places focused interactive content beside a trigger.
idle
Usage
Anatomy
The parts and how they nest, taken from the preview above.
Examples
Project identity
Edit the name teammates see in the workspace.
With close button
Dismiss from the header or the action.
Tooltip style
Compact information on hover, focus, or click.
Animated popovers
Share one popup between detached triggers.
Controlled and keep mounted
Retain a draft across close and reopen.
Positions
Anchor to each side and avoid viewport edges.
Disabled
Unavailable triggers do not open.
Recommendations
| Guidance | Practice |
|---|---|
| Do | Keep the content tied to its trigger. Use a title when the popup presents a task or settings. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | Use Tooltip for brief noninteractive help. Use Dialog when the task needs modal focus. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | — | Native Base UI root with controlled, modal, and detached-trigger state. |
| | — | Native trigger with render, disabled, hover, and payload props. |
| | — | Popup with render, focus behavior, positioning, portalProps, and tooltipStyle. |
| | false | Uses compact tooltip typography and padding. |
| | bottom | Positions relative to the trigger. |
| | center | Aligns along the trigger edge. |
| | 4 | Distance from the trigger in pixels. |
| | 0 | Offset along the alignment axis. |
| | — | Native portal props including container and keepMounted. |
| | — | Styled native title with render. |
| | — | Styled native supporting text. |
| | — | Native close button with styling and render. |
| | — | Creates a shared handle for detached triggers. |
| | — | Native parts for custom composition. |