Overlays
Popover
Rich floating content anchored to a trigger.
npx shadcn-svelte@latest add http://localhost:5173/r/popover.json Form
Scales in from its trigger (200ms ease-out) and out faster. Focus moves inside; Escape or a click outside closes it and returns focus.
light
dark
Alignment
Start, center and end. It scales from the corner nearest the trigger.
light
dark
Settings with a close action
Popover.Close wraps any control.
light
dark