Layout Components¶
Row / Col (24-column grid)¶
import xyz.junerver.compose.palette.components.grid.PRow
PRow {
// 24-column grid; span out of 24
PCol(span = 12) { Card1() }
PCol(span = 12) { Card2() }
}
Use gutter for column spacing:
Space¶
Evenly spaced items in a row or column.
import xyz.junerver.compose.palette.components.space.PSpace
PSpace(direction = Direction.ROW, spacing = 8.dp) {
PButton("A")
PButton("B")
}
Container & Scaffold¶
- Container — max-width centered wrapper
- Scaffold — Material-style app shell (app bar / drawer / FAB slots)
- Screen — full-screen container with platform-aware status handling
See the component source for full APIs.