LiftDesign System
Beta
한국어 Get started
  1. Components
  2. Product
  3. Input

Components / Product

Input — Implementation

Single-line text input

Context
Product
Content
source-derived
Availability
implemented
Verification
static-only 2026-11-18
Source revision
Lift 1.2.3 a58cbf9f4661…
Source language
KO·EN · not translated

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.

proptypedefaultdoc
size"sm" | "md" | "lg"md
invalidbooleanfalse
disabledbooleanfalse
placeholderstring—
valuestring—
onChange(e: any) => void—
typestring—
styleReact.CSSProperties—

Other props pass through from Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">.

Code

One import line plus the example code from the usage note.

jsx · import
import { Input } from "./components/forms/Input.jsx";
jsx · Input.prompt.md
<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