This is the llms.txt documentation for the "popovers" directory of the Origin UI - Svelte project. # "popovers" directory > A collection of production-ready, accessible UI components built with Svelte 5 and Tailwind CSS. These components are designed to be drop-in solutions for rapidly building modern web applications. This documentation covers 9 components, each following best practices for accessibility, performance, and type safety. ## Components ## popover-01 > A type-safe, accessible popover-01 component for building modern UIs. This component is part of the popovers collection. ### Core Information - **Component ID**: `popover-01` - **Location**: `/src/lib/components/popovers/popover-01.svelte` - **Type**: UI Component ### Usage ```svelte ### Dependencies Required packages and components: - [`lucide-svelte`](https://github.com/lucide-icons/lucide) Full component implementation: ```svelte
{#snippet child({ props })} {/snippet}
Filters
``` ### Links - [View Source](https://github.com/max-got/originui-svelte/tree/main/src/lib/components/popovers/popover-01.svelte) ## popover-02 > A type-safe, accessible popover-02 component for building modern UIs. This component is part of the popovers collection. ### Core Information - **Component ID**: `popover-02` - **Location**: `/src/lib/components/popovers/popover-02.svelte` - **Type**: UI Component ### Usage ```svelte ### Dependencies Required packages and components: - [`lucide-svelte`](https://github.com/lucide-icons/lucide) Full component implementation: ```svelte {#snippet Dot(className = '')} {/snippet} {#snippet child({ props })} {/snippet}
Notifications
{#if unreadCount > 0} {/if}
{#each notifications as notification (notification.id)}
{notification.timestamp}
{#if notification.unread}
Unread {@render Dot()}
{/if}
{/each}
``` ### Links - [View Source](https://github.com/max-got/originui-svelte/tree/main/src/lib/components/popovers/popover-02.svelte) ## popover-03 > A type-safe, accessible popover-03 component for building modern UIs. This component is part of the popovers collection. ### Core Information - **Component ID**: `popover-03` - **Location**: `/src/lib/components/popovers/popover-03.svelte` - **Type**: UI Component ### Usage ```svelte ### Dependencies Required packages and components: - [`lucide-svelte`](https://github.com/lucide-icons/lucide) - [`enhanced-image`](https://www.npmjs.com/package/@sveltejs/enhanced-img) (dev dependency) Full component implementation: ```svelte {#snippet Dot(className = '')} {/snippet} {#snippet child({ props })} {/snippet}
Notifications
{#if unreadCount > 0} {/if}
{#each notifications as notification (notification.id)}
{notification.timestamp}
{#if notification.unread}
{@render Dot()}
{/if}
{/each}
``` ### Links - [View Source](https://github.com/max-got/originui-svelte/tree/main/src/lib/components/popovers/popover-03.svelte) ## popover-04 > A type-safe, accessible popover-04 component for building modern UIs. This component is part of the popovers collection. ### Core Information - **Component ID**: `popover-04` - **Location**: `/src/lib/components/popovers/popover-04.svelte` - **Type**: UI Component ### Usage ```svelte Full component implementation: ```svelte {#snippet child({ props })} {/snippet}

Popover with button

I am a popover that would like to look like a tooltip. I can‘t be a tooltip because of the interactive element inside me.

``` ### Links - [View Source](https://github.com/max-got/originui-svelte/tree/main/src/lib/components/popovers/popover-04.svelte) ## popover-05 > A type-safe, accessible popover-05 component for building modern UIs. This component is part of the popovers collection. ### Core Information - **Component ID**: `popover-05` - **Location**: `/src/lib/components/popovers/popover-05.svelte` - **Type**: UI Component ### Usage ```svelte Full component implementation: ```svelte {#snippet child({ props })} {/snippet}

{tips[currentTip].title}

{tips[currentTip].description}

{currentTip + 1}/{tips.length}
``` ### Links - [View Source](https://github.com/max-got/originui-svelte/tree/main/src/lib/components/popovers/popover-05.svelte) ## popover-06 > A type-safe, accessible popover-06 component for building modern UIs. This component is part of the popovers collection. ### Core Information - **Component ID**: `popover-06` - **Location**: `/src/lib/components/popovers/popover-06.svelte` - **Type**: UI Component ### Usage ```svelte ### Dependencies Required packages and components: - [`lucide-svelte`](https://github.com/lucide-icons/lucide) Full component implementation: ```svelte {#snippet child({ props })} {/snippet}

{tips[currentTip].title}

{tips[currentTip].description}

{currentTip + 1}/{tips.length}
``` ### Links - [View Source](https://github.com/max-got/originui-svelte/tree/main/src/lib/components/popovers/popover-06.svelte) ## popover-07 > A type-safe, accessible popover-07 component for building modern UIs. This component is part of the popovers collection. ### Core Information - **Component ID**: `popover-07` - **Location**: `/src/lib/components/popovers/popover-07.svelte` - **Type**: UI Component ### Usage ```svelte ### Dependencies Required packages and components: - [`lucide-svelte`](https://github.com/lucide-icons/lucide) - [`~icons/ri`](https://www.npmjs.com/package/@iconify-json/ri) (dev dependency) - [`~icons/ri`](https://github.com/antfu/unplugin-icons) (dev dependency) Full component implementation: ```svelte
{#snippet child({ props })} {/snippet}
Share code
{#snippet child()} {/snippet} Copy to clipboard
``` ### Links - [View Source](https://github.com/max-got/originui-svelte/tree/main/src/lib/components/popovers/popover-07.svelte) ## popover-08 > A type-safe, accessible popover-08 component for building modern UIs. This component is part of the popovers collection. ### Core Information - **Component ID**: `popover-08` - **Location**: `/src/lib/components/popovers/popover-08.svelte` - **Type**: UI Component ### Usage ```svelte Full component implementation: ```svelte
{#snippet child({ props })} {/snippet}

Send us feedback