Forms

Input

A fundamental form component for capturing text data with support for labels, errors, and size variants.

Email

Sizes

Three size variants for different interface densities.

sm
md
lg

States

Inputs support error states and helper text.

ErrorThis field is required
Helper TextWe'll never share your email.

Props

PropTypeDefault
labelstring
errorstring
helperTextstring
size"sm" | "md" | "lg""md"

Usage

import { Input } from '@/components/ui/input';

// Basic input
<Input placeholder="Enter name" />

// With label and error
<Input 
  label="Email" 
  error="Invalid email address" 
/>

Installation

$npx kachindo-ui add input
Profile