···641641`props` parameter:
642642643643- **`layout`** — sizing (width and height, specified via sizing helpers),
644644- padding (per-side), alignment (currently numeric enum values, with a planned
645645- transition to string literals), direction (top-to-bottom or left-to-right),
646646- and gap
644644+ padding (per-side), alignment (`alignX`: `"left"` | `"center"` | `"right"`;
645645+ `alignY`: `"top"` | `"center"` | `"bottom"`, defaulting to left/top when
646646+ omitted), direction (top-to-bottom or left-to-right), and gap
647647- **`border`** — per-side border widths and border color
648648- **`cornerRadius`** — per-corner radius values, producing rounded box-drawing
649649 characters
···657657`strikethrough`).
658658659659These property groups represent the current implementation surface. New groups
660660-and fields have been added incrementally and more may follow. Alignment values
661661-are expected to transition from numeric to string-literal form.
660660+and fields have been added incrementally and more may follow.
662661663662**Border width and layout interaction.** In the underlying layout engine (Clay),
664663border configuration does not affect layout computation. This is Clay's intended