GitHub

Input

PreviousNext

Single-line text field built on Arco Mobile's Input.

Default

Empty state with a placeholder. onChange signature is Arco's: (event, value) => void.

Filled

Once the user types, the active state is wired automatically via the kit's wrapper.

Error

Pass hasError to surface validation feedback. Pair with a Footnote2 helper underneath for the reason.

Disabled

Greyed out + non-interactive.

Installation

pnpm add @appboxo/ui-kit

Theme tokens

--boxo-input-disabled-background (required), --boxo-input-border-*, --boxo-input-background, --boxo-input-active-border-color (optional).