Components
- Accordion
- Alert
- Alert Dialog
- Aspect Ratio
- Avatar
- Badge
- Breadcrumb
- Button
- Button Group
- Calendar
- Card
- Carousel
- Chart
- Checkbox
- Collapsible
- Combobox
- Command
- Context Menu
- Data Table
- Date Picker
- Dialog
- Drawer
- Dropdown Menu
- Empty
- Field
- Hover Card
- Input
- Input Group
- Input OTP
- Item
- Kbd
- Label
- Menubar
- Native Select
- Navigation Menu
- Pagination
- Popover
- Progress
- Radio Group
- Resizable
- Scroll Area
- Select
- Separator
- Sheet
- Sidebar
- Skeleton
- Slider
- Sonner
- Spinner
- Switch
- Table
- Tabs
- Textarea
- Toggle
- Toggle Group
- Tooltip
- Typography
Get Started
@shadcn/react
@shadcn/helpers
Force UI registry
Utilities
Installation#
pnpm dlx shadcn@latest add @force-ui-svelte/popover
Usage#
<script lang="ts">
import * as Popover from "$lib/components/ui/popover/index.js";
</script><Popover.Root>
<Popover.Trigger>Open Popover</Popover.Trigger>
<Popover.Content>
<Popover.Header>
<Popover.Title>Title</Popover.Title>
<Popover.Description>Description text here.</Popover.Description>
</Popover.Header>
</Popover.Content>
</Popover.Root>Composition#
Use the following composition to build a Popover:
Popover.Root
├── Popover.Trigger
└── Popover.ContentExamples#
Basic#
A simple popover with a header, title, and description.
Align#
Use the align prop on Popover.Content to control the horizontal alignment.
With Form#
A popover with form fields inside.
RTL#
To enable RTL support in Force UI, see the RTL configuration guide.
API Reference#
See the Radix UI Popover documentation.
Deploy your shadcn/ui app on Vercel
Trusted by OpenAI, Sonos, Adobe, and more.
Vercel provides tools and infrastructure to deploy apps and features at scale.
Deploy to Vercel