Canonical field hierarchy for dense product forms.
Default
Label, description, helper, and composed control.
/render stateForm chrome primitive for label, description, helper, validation, and counts.
Field owns field-level hierarchy only. It does not own input state or validation logic; compose it around the primitive or component that owns the control.
Controls update query params directly, so every primitive state can be linked, rendered, and screenshotted deterministically.
Every state maps to the same render route through the `state` query param.
Label, description, helper, and composed control.
/render stateError message and status treatment.
/render statePositive validation message.
/render stateCount and limit metadata.
/render state| Name | Type | Default | Description |
|---|---|---|---|
label | ReactNode | - | Primary field label. |
description | ReactNode | - | Supporting copy below the label. |
help | ReactNode | - | Neutral helper message. |
error | ReactNode | - | Error message and error status source. |
success | ReactNode | - | Success message and success status source. |
required | boolean | false | Marks the label as required. |
optional | boolean | false | Shows optional label metadata. |
count | number | - | Current character or item count. |
limit | number | - | Maximum character or item count. |