Learn more about Mintlify
Enter your email to receive updates about new features and product releases.
Displays rich content in a portal, triggered by a button.
npx shadcn-svelte@next add popover
Install bits-ui
npm install bits-ui -D
Copy component code
<script lang="ts"> import * as Popover from "$lib/components/ui/popover/index.js"; </script>
<Popover.Root> <Popover.Trigger>Open</Popover.Trigger> <Popover.Content>Place content for the popover here.</Popover.Content> </Popover.Root>