UI Library

Prop Type Default Value Notes
ariaLabelstring—
Required accessible name.
classNamestring?''
Extra classes appended after the base chrome; an embedded field takes its text rules here.
clearLabelstring?'Clear'
Accessible name for the clear button.
clearPlacement'auto' | 'inside' | 'outside''auto'
Inside overlays the editor’s first line; outside sits after it; auto renders inside.
clearablebooleanfalse
Appends a cross button that clears the value.
defaultValuestring?''
Baseline the clear button compares against; the cross hides while the value matches it.
disabledbooleanfalse
Disables the field.
hideOutlinebooleanfalse
Drops the field’s border and focus border while keeping its surface, padding, and text metrics.
idstring?—
Native textarea id.
inputClassstring?built-in
Replaces the default textarea classes.
inputRefHTMLTextAreaElement | nullnull—Bindable native textarea.
placeholderstring?—
Native placeholder.
ratiosTextAreaRatioOverrides?—
Partial override of the editor’s tunable ratios (font, radius, paddings, the clear box and gutter, and the outside row’s gap); the line box follows the font and the clear inset follows padX.
readonlybooleanfalse
Read-only field.
rowsnumber?3
Visible text rows.
size'xs' | 'sm' | 'md' | 'lg' | 'xl' | number'md'
Control scale; numbers are icon-scale pixels interpolated between the steps.
valuestring—
Bindable field value; the eye resets it to empty.
variant'bordered' | 'embedded''bordered'
Chrome variant; embedded drops the border, the background, and the focus ring for a field rendered inside another surface.
onClear() => voidclears value—Clear handler; falls back to clearing the bound value when omitted.
onblur(event: FocusEvent) => void——Blur callback.
onfocus(event: FocusEvent) => void——Focus callback.
oninput(event: Event) => void——Input callback.
onkeydown(event: KeyboardEvent) => void——Keydown callback.