# daisyUI Documentation - Input Component Text Input is a simple input field. ## Classes and Usage ### Core Classes: - **input** - The main input element - **input-bordered** - Bordered input style - **input-ghost** - Ghost input style - **input-primary** - Primary color input - **input-secondary** - Secondary color input - **input-accent** - Accent color input - **input-neutral** - Neutral color input - **input-info** - Info color input - **input-success** - Success color input - **input-warning** - Warning color input - **input-error** - Error color input - **input-xs** - Extra small size - **input-sm** - Small size - **input-md** - Medium size [Default] - **input-lg** - Large size - **input-xl** - Extra large size - **input-disabled** - Disabled state - **input-readonly** - Read-only state ## Examples ### Basic Input ```html ``` ### Input with Border Style ```html ``` ### Input with Ghost Style ```html ``` ### Input Sizes ```html ``` ### Input Colors ```html ``` ### Input with Disabled State ```html ``` ### Input with Read-only State ```html ``` ## Features - Simple text input styling - Multiple size options (xs, sm, md, lg, xl) - Multiple color variants - Border and ghost styles - Disabled and read-only states - Responsive design This component is useful for creating styled text inputs that blend seamlessly with the rest of your daisyUI interface.