OverlayBrowse overlay components
Popover
Rich floating panel with arrow. For settings, inline help, or quick forms.
Live preview
Quick settings
Apply to this account.
Email digest
Auto-renew
Usage
Adapters:React stableVue stable
index.html
<span class="lm-popover">
<button aria-haspopup="dialog">Open</button>
<div class="lm-popover-content"><div class="lm-popover-arrow"></div>…</div>
</span>CSS classes (3)
| Class | Description |
|---|---|
lm-popover | Anchor wrapper |
lm-popover-content | Floating card |
lm-popover-arrow | Pointer arrow |
React props (2)
| Prop | Type | Default | Description |
|---|---|---|---|
side | top | right | bottom | left | — | — |
align | start | center | end | — | — |
Accessibility
- Use role='dialog' and aria-modal='true' for blocking overlays.
- Trap focus inside the overlay; return focus to the trigger on close.
- Provide aria-labelledby and aria-describedby.
- Close on Escape and outside-click.
Spotted something wrong? Edit this entry on GitHub.