Skip to main content

Input()

Input(__namedParameters): Element

Input - A flexible text input component with enhanced features

Provides a customizable text input with automatic sizing, clear functionality, and integrated validation states. Supports various styling options and integrates seamlessly with form field components for comprehensive form experiences.

Parameters

__namedParameters

InputProps

Returns

Element

Examples

// Basic input
<Input placeholder="Enter text..." />
// Input with clear button
<Input
defaultValue="Clearable text"
classNames={{ clear: "hover:bg-info-bold" }}
/>