@dxos/react-ui
    Preparing search index...
    RootProps: ThemedClassName<FieldPrimitive.RootProps> & {
        layout?: "stack" | "row" | "inline";
        level?: Level;
        span?: Span;
        tone?: "muted";
        validationValence?: Valence;
    }

    Type declaration

    • Optionallayout?: "stack" | "row" | "inline"

      stack (default) puts the label above the control (decision 13). row joins the parent's columns as a subgrid row (Phase 4 decision 3): the Header and HelperText take the tracks before the parent's interior control line, every other child the tracks after it; below the pane's collapse width the row stacks. inline puts the label beside the control, in a --dx-label-width column, so a run of inline fields lines its controls up.

    • Optionallevel?: Level

      A surface rung for a row field, which then draws a separator border around itself (a settings card row).

    • Optionalspan?: Span

      Tracks the field spans in its parent Container (e.g. two columns of a multi-column form).

    • Optionaltone?: "muted"

      The control's text colour, as Typography's tone.

    • OptionalvalidationValence?: Valence

      Tones the control's border and focus ring and the HelperText; error also sets invalid (unless given), so ErrorText shows and the control reports aria-invalid.