Interactive testing environment for react-shared components
Current: Default
A flexible text input component with validation support and customizable styling
Customize the input properties and see the changes in real-time
Different input types for various use cases
Different input states
This field is required
Icon appears on the right side of the input
Input with validation messages
This field is required
Please check your input
valuestring - The input value (controlled)
onChange(value: string) => void - Change handler (required)
type'text' | 'email' | 'password' | 'number' - Input type (default: 'text')
errorboolean - Shows error styling (default: false)
disabledboolean - Disables the input (default: false)
placeholderstring - Placeholder text
autocompletestring - HTML autocomplete attribute
childrenReact.ReactNode - Optional icon or content to display inside input
errorMessagestring - Error message to display (takes priority over warning)
warningMessagestring - Warning message to display
htmlForstring - ID of the associated input element
chevronboolean - Shows chevron icon (default: false)
childrenReact.ReactNode - Label text content