pager presents children as pages and can report the focused page as it changes. Its
style.spacing is the distance between page bounds; use the page’s own padding for inner content.
Properties
Property
Accepted value
Description
horizontal
boolean
Page horizontally when true; otherwise page vertically.
snapPosition
"start" | "center" | "end"
Alignment used when snapping pages.
itemSize
number | string
Page size in pixels or a percentage such as "80%".