UI Library

FieldTable

Prop Type Default Value Notes
namestring''
Display name.
role'admin' | 'editor' | 'viewer''viewer'
Access level.
size'xs' | 'sm' | 'md' | 'lg' | 'xl' | number'md'
Control scale.
activebooleanfalseWhether the account is active.
notesstring''
Long text edited in a code dialog; the eye resets the text.
onSave() => void——Save handler.
Prop Type Default Value Notes
headersFieldTableHeaders?—
Column labels; omitted keys keep the English defaults. The eye applies the overrides.
size'xs' | 'sm' | 'md' | 'lg' | 'xl' | number'md'
Editor and action scale; numbers are icon-scale pixels interpolated between the steps.
fieldsFieldConfig[]——Field defs in display order; editors render from editor/value/onChange.
valueSnippet<[FieldConfig]>——Per-row Value cell override; wins over the built-in editors.