Skip to main content

Input

The Input component provides a text input field with support for various input types, validation feedback, error states, and character counting.

Props

Input Types

  • "text" - Standard text input (default)
  • "email" - Email input with email keyboard on mobile
  • "number" - Numeric input with number keyboard
  • "phone" - Phone number input with phone keyboard
  • "password" - Password input with hidden characters

Examples

Basic Input

With Label

Required Field

Input Types

With Error State

With Helper Text

Character Count

Sizes

Without Submit Button

Custom Message Format

With Form State

When used with name prop, input updates form state instead of sending messages immediately:

Custom Radius

Common Patterns

Login Form

Search Input

Newsletter Signup

Validation Feedback