Components
Documentation contentInput Group
Use input-group to combine a textarea and an accessory row inside one border. The group shows a focus ring when any child has focus and removes the textarea’s individual surface styling. The textarea retains its text bindings and input events. Set submit-on-enter="true" to submit on Enter, and autofocus to focus it when mounted.
input-group

Markup
The textarea comes first (document order is focus order), then the optional input-group-actions row. Put a spacer between the leading and trailing controls; if/else inside the row swap send for stop while a run is streaming.
Programmatic construction (Zig)
In a Zig view, the canvas.Ui builder constructs the same tree programmatically:
Attributes
| Attribute | Description |
|---|---|
label | Accessible name; the group announces as ONE named field (role group) while the entry and accessory controls stay individually reachable. |
width | Definite group width (plain number); 0/omitted sizes from the entry plus the actions row. |
height | Definite group height (plain number); the entry grow-stretches to absorb it. |
min-width | Width floor (plain number) without width's definite max. |
grow | Flex grow factor. |
input-group-actions
| Attribute | Description |
|---|---|
gap | input-group-actions: spacing between the accessory controls (plain number; default 6). |
