Popover
A 16px-radius floating panel with optional title and description, opening with a short origin-aware pop.
Interactive preview · desktop · dark
Installation
Installation is available on the Startup and Business plans. Your personal install command appears here once you have access.
Usage
Import it, pass your props, and make it part of your product.
example.tsx
import { Button } from '@/components/ui/button';import { PopoverRounded } from '@/components/component-kit/items/popover-rounded';
export function Example() { return ( <PopoverRounded trigger={<Button variant="outline">Share</Button>} title="Share this project" description="Anyone with the link can view." > <p className="text-sm">Your content here.</p> </PopoverRounded> );}Props
| Prop | Type | Default | Description |
|---|---|---|---|
trigger | ReactElement | — | Element that opens the popover. |
title | ReactNode | — | Optional heading inside the panel. |
side | "top" | "right" | "bottom" | "left" | bottom | Which side of the trigger the panel opens on. |