Inputs

Our input components provide flexible and accessible ways for users to enter and select data.

Interactive Input Demo

This field is required

Input is valid

Please check this field

Current Type: text input.

Input States

This field is required

Input is valid

Please check this field

Input Variants
Input with Icons

Icon Guidelines:

  • • Use 16px (h-4 w-4) icons for standard input fields
  • • Position leading icons 12px from the left edge
  • • Position trailing icons 12px from the right edge
  • • Use muted-foreground color for inactive icons
  • • Icons should provide visual context or functionality
  • • Ensure sufficient padding (pl-10/pr-10) when using icons
Input Specifications
StateBorder ColorBackgroundFocus RingText Color
DefaultBorderBackgroundNoneForeground
FocusPrimary-500BackgroundPrimary-100Foreground
ErrorRed-500BackgroundRed-100Foreground
SuccessGreen-500BackgroundGreen-100Foreground
WarningOrange-500BackgroundOrange-100Foreground
DisabledNeutral-200Neutral-50NoneNeutral-400
Built with v0