# daisyUI Documentation - File Input Component File Input is a an input field for uploading files. ## Classes and Usage ### Core Classes: - **file-input** - For element - **file-input-ghost** - ghost style - **file-input-neutral** - neutral color - **file-input-primary** - primary color - **file-input-secondary** - secondary color - **file-input-accent** - accent color - **file-input-info** - info color - **file-input-success** - success color - **file-input-warning** - warning color - **file-input-error** - error color - **file-input-xs** - Extra small size - **file-input-sm** - Small size - **file-input-md** - Medium size [Default] - **file-input-lg** - Large size - **file-input-xl** - Extra large size ## Examples ### Basic File Input ```html ``` ### File Input Ghost Style ```html ``` ### File Input with Fieldset and Label ```html
``` ### File Input Sizes ```html ``` ### File Input Colors ```html ``` ### Disabled File Input ```html ``` ## Features - Special styling for file input elements - Multiple size options (xs, sm, md, lg, xl) - Multiple color variants - Ghost style option - Works with fieldset and label components - Disabled state support This component is useful for creating styled file upload inputs that blend seamlessly with the rest of your daisyUI interface.