Components
popover
Popover content.
A small overlay that appears near a trigger element. Defined inside screens and triggered by :to "#id".
Usage
Opening a Popover
Use a button or clickable text with :to "#id":
(button "Info" :ghost :to "#info")
(text "Learn more" :to "#info")Flags
| Flag | Effect |
|---|---|
:open | Popover is initially open |
:row | Horizontal layout |
:col | Vertical layout |
:center | Center alignment |
:start | Start alignment |
:end | End alignment |
:between | Space between |
:full | Full size |
:fill | Fill available space |
Properties
| Property | Type | Example |
|---|---|---|
:id | string | :id "info" |
:gap | number | :gap 8 |
:padding | number | :padding 12 |
:width | number | :width 250 |
:height | number | :height 200 |