Popover
readyNot reviewed for a11y
This page may be removed. Primer plans to move all Rails component documentation to Lookbook.
Description
Use Popover
to bring attention to specific user interface elements, typically to suggest an action or to guide users through a new experience.
By default, the popover renders with absolute positioning, meaning it should usually be wrapped in an element with a relative position in order to be positioned properly. To render the popover with relative positioning, use the relative property.
Arguments
Name | Required | Description |
---|---|---|
system_arguments | Hash |
Slots
heading
The heading
Name | Required | Description |
---|---|---|
tag | Symbol One of | |
system_arguments | Hash |
body
The body
Name | Required | Description |
---|---|---|
caret | Symbol One of | |
large | Boolean Whether to use the large version of the component. | |
system_arguments | Hash |