Skip to main content
Version: 4.3

OverlayPosition

type OverlayPosition = 
| "top-left"
| "top"
| "top-right"
| "left"
| "center"
| "right"
| "bottom-left"
| "bottom"
| "bottom-right";

A named anchor on a box: one of the four corners, four edge midpoints, or the center. Used both for where an overlay attaches to an element (position) and for the overlay's own pivot point (origin).