Docs
Popover

Popover

Displays rich content in a portal, triggered by a button.

Loading...

Installation

	npx shadcn-svelte@latest add popover

Usage

	<script lang="ts">
  import * as Popover from "$lib/components/ui/popover";
</script>
 
<Popover.Root>
  <Popover.Trigger>Open</Popover.Trigger>
  <Popover.Content>Place content for the popover here.</Popover.Content>
</Popover.Root>