Augeo AI Docs
Augeo Design SystemComponents

TextField

Single-line and multi-line text entry with the label, the message and the accessibility wiring in one component.

TextField

The single text-entry component, single-line and multi-line both. It draws the field chrome, the label, the helper or error message, and the wiring between them. Which label position a field takes is a product rule in docs/standards/field-labels.md. The external label position draws no label, so the host must point its own <label> at the field id or the control has no accessible name. A date or time field given a leading icon hides the browser's own picker button, and a press anywhere on the field opens the picker. Where script cannot open the picker, as in a cross-origin frame, the browser's button stays.

Interaction Phases

State space: none. This item renders no phase treatment of its own.

Politeness is not announced — this item carries no live region.

Storybook

Loading

Props

Prop

Type

Also takes the attributes of the element it renders.

Tokens

Derived from the component source at docs-generation time — these are the --augds-* variables it reads. Re-theme the colour slots by constructing a partner DesignSystemTheme and wrapping the consumer subtree in <ThemeProvider>, never by hard-coding values.

  • --augds-field-border
  • --augds-field-border-hover
  • --augds-field-placeholder
  • --augds-field-surface
  • --augds-field-text
  • --augds-foreground-brand
  • --augds-foreground-disabled
  • --augds-foreground-primary
  • --augds-foreground-tertiary
  • --augds-radius-primitive-12
  • --augds-spacing-4
  • --augds-status-error-fg

Source

  • src/components/ui/text-field/label.tsx
  • src/components/ui/text-field/text-field.tsx