Field
moleculesLabel, hint and error around any form control; the control adopts the id, aria-describedby and aria-invalid through context.
Workspace settings form
label, hint, error and a snippet hint; the wrapped Input, Select and Textarea pick up the label id automatically.
Stack and inline layouts
layout="inline" puts the label beside the control; labelWidth aligns a column of them; grow fills a Cluster row.
States
error overrides hint, a disabled control, an explicit for id, and a long label and error inside a narrow column.
We only use it for login links. Enter a valid email address.
Transfer ownership from the members page.
Must be between 1 and 32; the current value exceeds what the node's memory can hold.
Micro-interactions
data-fx-focus on any ancestor: "bloom" (default) halos the focused control, "label" floats a Field label inside md text fields, "none" keeps the plain ring.
data-fx-focus="bloom"
Enter a valid address
data-fx-focus="label"
Enter a valid address
data-fx-focus="none"
Props
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | — | |
for | string | — | |
hint | string | Snippet | — | |
error | string | — | |
layout | 'stack' | 'inline' | 'stack' | |
labelWidth | string | — | Inline layout: fixed label column width. |
grow | boolean | false | Fill the available width of a flex/Cluster row (flex: 1). |
shrink | boolean | true | `false` pins the field (`flex: none`) in a row. |
class | string | '' | |
children | Snippet | — |