UI Library

Prop Type Default Value Notes
childrenSnippet—
The control(s) under the label; TextInput lines and HTML elements, committing applies it.
classNamestring?''
Extra classes for the field wrapper.
htmlForstring?—
Associates the label with a control id.
labelstring—
Visible field label.
layout'stacked' | 'inline''stacked'
Stacked puts the label above the control; inline puts it in the size-scaled inline column beside it (6rem at md).
size'xs' | 'sm' | 'md' | 'lg' | 'xl' | number'md'
Control scale; numbers are icon-scale pixels. Scales the label, gaps, and inline label column.