ComponentsInput Field

Input Field

Standard text input for most free-form entries with optional left or right icon, size and state controls, and implementation-ready code previews.

Normal field

Standard text input for most free-form entries with optional left or right icon.

Size
State
Icon
Code preview
import React from "react";
import { ChevronDown, Search } from "lucide-react";

Field specs

Reference values for text, placeholder, input fill, stroke, and state-specific colors.

TokenValueColorUsage
Input fillvar(--input-input-fill)#fcfcfcDefault field background
Stroke defaultvar(--input-input-stroke-default)#8f9da4Default / resting border
Stroke activevar(--input-input-stroke-active)#765cd8Focus highlight
Stroke errorvar(--red-600)#c8342aError border and icon
Placeholdervar(--text-text-placeholder)#b3bbc0Hint text in empty fields