# Upstage Design System — Input (product)
- context: product · group: forms
- source revision: lift-1.2.3 (Lift 1.2.3, zip sha256 8d5d9377c2b4…)
- status: content source-derived · availability implemented · verification static-only
- human docs: /en/components/product/input/ · machine doc: /agent/components/product/input.md
## Required references (read these)
- /components/forms/Input.jsx — implementation · sha256 a58cbf9f4661…
- /components/_types.d.ts — api · key InputProps
- /components/forms/Input.prompt.md — usage-note · sha256 097a9f2b39b7…
- /kit/rules/a11y-contract.json — a11y · key Input
## API (components/_types.d.ts InputProps)
- size?: "sm" | "md" | "lg" (default md)
- invalid?: boolean (default false)
- disabled?: boolean (default false)
- placeholder?: string
- value?: string
- onChange?: (e: any) => void
- type?: string
- style?: React.CSSProperties
- extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> (other props pass through)
## Accessibility contract
- keys: -
- aria: aria-invalid
## Unverified
- Browser behaviour is not verified here (static source check only).
Supported environment
The Lift 1.2.3 reference implementation is a React 18 function component with inline styles referencing Product tokens (hsl(var(--*))), so styles.product.css must be loaded. The mapping to an npm package could not be verified in this repository.
API
Copied from InputProps in components/_types.d.ts.
| prop | type | default | doc |
|---|---|---|---|
size | "sm" | "md" | "lg" | md | |
invalid | boolean | false | |
disabled | boolean | false | |
placeholder | string | — | |
value | string | — | |
onChange | (e: any) => void | — | |
type | string | — | |
style | React.CSSProperties | — |
Other props pass through from Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">.
Code
One import line plus the example code from the usage note.
import { Input } from "./components/forms/Input.jsx";<Input placeholder="sk-upstage-..." size="md" />
<Input invalid placeholder="Required" />Token bindings
Tokens the implementation references with var(). Names assembled at runtime (e.g. --state-${tone}-fg) are not listed.
--background, --destructive, --disabled, --disabled-border, --disabled-foreground, --duration-fast, --focus-ring-width, --font-sans, --foreground, --input, --input-active, --input-focus-ring-width, --input-hover, --ring, --text-c1
Source
components/forms/Input.jsximplementation · sha256 a58cbf9f4661…components/_types.d.tsapi · InputPropscomponents/forms/Input.prompt.mdusage-note · sha256 097a9f2b39b7…kit/rules/a11y-contract.jsona11y · Input