```
## Documentation
## Usage
```svelte
Hello this is a test
{#snippet child({ props })}
{/snippet}
Content of the popover here
```
## Sources
This component uses the bits-ui component: Popover, see here for the documentation for that: https://bits-ui.com/docs/components/popover/llms.txt
## API Reference
### Popover
A floating panel anchored to a trigger button. Built on top of the bits-ui Popover primitive.
| Prop | Type | Default | Description |
|------|------|---------|-------------|
| open | `boolean` | `false` | Whether the popover is open. (bindable) |
| onOpenChange | `(open: boolean) => void` | `-` | A callback invoked when the open state changes. |
| children | `Snippet` | `-` | The content to display inside the popover. (required) |
| triggerText | `string` | `-` | Text label for the trigger button. |
| triggerVariant | `'primary' | 'secondary' | 'link' | 'ghost'` | `'primary'` | The visual variant of the trigger button. |
| triggerSize | `'default' | 'sm' | 'lg' | 'icon' | 'iconSm' | 'iconLg'` | `'default'` | The size of the trigger button. |
| triggerClasses | `string` | `''` | Additional CSS classes to apply to the trigger button. |
| triggerRef | `HTMLButtonElement` | `-` | Reference to the trigger button element. (bindable) |
| side | `'top' | 'bottom' | 'left' | 'right'` | `'top'` | The preferred side of the trigger to render the popover. |
| sideOffset | `number` | `10` | The distance in pixels from the trigger. |
| child | `Snippet` | `-` | A snippet for custom trigger rendering. Use this instead of triggerText for full control over the trigger. |
| class | `string` | `-` | Additional CSS classes to apply to the popover content. |