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