Popover
Color
Element | Property | Color token |
---|---|---|
Container | background-color | $layer-01 |
background-color | $layer-02 | |
background-color | $background-inverse |
![Popover container colors. Popover container colors.](/static/b2eab8d625c6e35d0b30e901d88ab15c/3cbba/popover-style-1.png)
Structure
The width and height of a popover container can vary depending on the amount of content within it. We recommend to not exceed a popover width size of four columns.
Element | Property | px / rem | Spacing token |
---|---|---|---|
Popover container | max-width | 352 / 22 | – |
padding | 16 / 1 | $spacing-05 | |
Caret tip | height, width | 8 / .5 | – |
margin-top | 4 / .25 | $spacing-02 |
![Structure and spacing measurements for a popover container. Structure and spacing measurements for a popover container.](/static/5207c222613f261fb6c082f22c126f87/3cbba/popover-style-3.png)
Structure and spacing measurements a popover container. | px / rem
![Structure and spacing measurements between a popover container and trigger button. Structure and spacing measurements between a popover container and trigger button.](/static/df79a5b25253dabda7c211fb52a60e65/3cbba/popover-style-4.png)
Structure and spacing measurements between a popover container and trigger button. | px / rem