templUI Pro coming soon  

50% OFF Join Waitlist

Popover

Displays content in a window, triggered by a hover or click.

TailwindCSS
Vanilla JS

Usage

1. Add the script to your page/layout:

// Option A: All components (recommended)
@utils.ComponentScripts()

// Option B: Just Popover
@components.PopoverScript()

2. Use the component:

@components.Popover(components.PopoverProps{...})

Examples

Trigger & Closing

Positions

© 2025 templui. Stupid code not excluded.