KVADRANT UI api reference demo

KvadrantPivotHeaders

navigation

the header strip on its own, driven by a pager

dark
light

mounted as pivot-headers

why it looks like this

The header strip.

Children are measured, laid out end to end, and the whole row is shifted so that the selected header sits at the left margin. The shift follows the pager continuously, so during a swipe the headers travel by their own widths while the pages travel by a full page width — and that difference in rate is the parallax. It is geometry, not a tuned coefficient.

Read it: kvadrant-core/src/commonMain/kotlin/io/github/youndie/kvadrant/components/KvadrantPivot.kt · the full signature and every parameter