Production default
Balanced spacing, hierarchy, and content for the most common product workflow.
<Popover
title="Popover example"
description="A polished default popover for a modern application."
open="true"
closeLabel="Popover"
/>
// Generated by scripts/generate-showcase.mjs. Do not edit directly.
page PopoverDetail {
layout = "showcase"
state playground_size = ctx.url.searchParams.get("pg_size") ?? "default"
state playground_color = ctx.url.searchParams.get("pg_color") ?? "primary"
state playground_title = ctx.url.searchParams.get("pg_title") ?? "Popover example"
state playground_description = ctx.url.searchParams.get("pg_description") ?? "A polished default popover for a modern application."
state playground_open = ctx.url.searchParams.get("pg_open") ?? "true"
state playground_placement = ctx.url.searchParams.get("pg_placement") ?? "bottom"
state playground_closeLabel = ctx.url.searchParams.get("pg_closeLabel") ?? "Popover"
state playground_class = ctx.url.searchParams.get("pg_class") ?? "showcase-instance showcase-instance--1"
seo {
title = "Popover"
description = "Theme-aware, responsive popover component."
}
view {
Theme-aware, responsive popover component. Change any prop and inspect the server-rendered component immediately.Popover
Configure Popover
<Popover
title="Popover example"
description="A polished default popover for a modern application."
open="true"
closeLabel="Popover"
/>
Compare configurations and resize the browser to check responsive behavior.
Balanced spacing, hierarchy, and content for the most common product workflow.
<Popover
title="Popover example"
description="A polished default popover for a modern application."
open="true"
closeLabel="Popover"
/>
A tighter variation for dashboards, side panels, tables, and operational interfaces.
<Popover
size="sm"
title="Compact Popover"
description="A compact configuration for dashboards and dense product surfaces."
open="true"
closeLabel="Compact example"
/>
A more expressive variation using additional data, stronger emphasis, and optional states.
<Popover
size="lg"
title="Advanced Popover"
description="A richer configuration demonstrating additional content and hierarchy."
open="true"
closeLabel="Advanced example"
/>
All content and behavior shown above is supplied through these props and slots.
| Prop | Type | Default | Required |
|---|---|---|---|
size | string | "default" | No |
color | string | "primary" | No |
title | string | "Popover" | No |
description | string | "" | No |
open | boolean | false | No |
placement | string | "bottom" | No |
closeLabel | string | "Close" | No |
class | string | "" | No |