---
type: Component
title: Field
description: "The labeled inline control: a label and a control sharing one underline, so the closed control reads 'sort: ability'."
status: released
register: product
tags: [interface]
tokens: [--line-2, --accent-solid, --ink, --ink-2, --ink-3, --text-sm, --f-sans, --border-hairline]
---

```html
<span class="field dd"><span class="field-lbl">sort:</span><select aria-label="sort"><option>ability</option><option>price</option><option>context</option></select></span>
<label class="field"><span class="field-lbl">seed:</span><input type="text" value="42" size="4" class="mono" aria-label="seed"></label>
```

**Anatomy.** A label (`.field-lbl`) and a control on one underline. The field owns the underline; the select or input inside drops its own chrome. Values right-align, so the label hugs the left, the value hugs the underline's right edge, and numbers share an edge.

**Text entry** (`.field`). Use a `<label>` so the label focuses the control. The underline goes accent while editing.

**Dropdown** (`.field.dd`). One click target: label, value, caret and underline all open the picker. Its width is the widest option, so it doesn't reflow on change. After a mouse pick it leaves no accent underline; the accent line is keyboard focus only.

**Rules.** Product register. Proven on the SDK widgets.

*Open:* error, disabled and help-text states are not defined. Opening the picker from anywhere on the field needs a script that is not part of `style.css`.
