popover
Floating panel with arbitrary content.
Preview
This overlay stays hidden until triggered — open it in the live demo →
Markup
<button popovertarget="X">Open</button><div class="popover" popover id="X">…</div>Install
Import the component CSS (depends on base/tokens.css):
@import "@russfranky/shadcss/src/components/popover.css";
…or copy it into your repo with the CLI:
npx @russfranky/shadcss-cli add popover
Accessibility
Open via showPopover()/popovertarget; add role=dialog + aria-labelledby
Classes
.popover .popover-sm .popover-lg .popover-header .popover-title .popover-description .popover-footer
Dependencies
base/tokens