Input

canon

Single-line input in text, email, url, code, number and short widths.

States include read-only (canon since 28 Sep 2026, !4102): --surface-75, full --fg text, cursor: text, focus ring kept; replaces the scoped .finput[readonly]. Registered exceptions from <Input> (AD 28 Sep 2026, !4110) — inline editing in context, a 32px box would break the header or the tool: .nt-bub-url (link field inside the note formatting bubble) and .sgb-th-edit (column rename in the segment table header), both --control-h-sm (24px); .sgb-th-edit carries the focus ring like .rr-edit; on touch (pointer: coarse) .nt-bub-url is 44px. Any other bare <input> with a text-field box class fails the input-raw HARD rule.

Used in 90 files · 37 areas · 271× — components/accounting, components/assistant, components/callwrapup, components/clen-tymu, components/datamart, components/mail …

Default

components--input--defaultOpen standalone ↗Code

Variants

type=text
type=email
type=url
type=number
components--input--variantsOpen standalone ↗Code

Sizes

--num (88px)
--code (132px)
--short (210px)
--email (280px)
default (100% of the container)
components--input--sizesOpen standalone ↗Code

States

placeholder
filled
read-only
disabled
error (.is-error)
Focus: border turns --accent with a 3px translucent ring (16 %); error uses the same ring on --critical.
components--input--statesOpen standalone ↗Code

Composition

–
range from–to (.acrm-range)
components--input--compositionOpen standalone ↗Code