18 lines
640 B
Markdown
18 lines
640 B
Markdown
### file-input
|
|
File Input is an input field for uploading files
|
|
|
|
[file-input docs](https://daisyui.com/components/file-input/)
|
|
|
|
#### Class Names:
|
|
- Component: `file-input`
|
|
- Style: `file-input-ghost`
|
|
- Color: `file-input-neutral`, `file-input-primary`, `file-input-secondary`, `file-input-accent`, `file-input-info`, `file-input-success`, `file-input-warning`, `file-input-error`
|
|
- Size: `file-input-xs`, `file-input-sm`, `file-input-md`, `file-input-lg`, `file-input-xl`
|
|
|
|
#### Syntax
|
|
```html
|
|
<input type="file" class="file-input {MODIFIER}" />
|
|
```
|
|
|
|
#### Rules
|
|
- {MODIFIER} is optional and can have one of each style/color/size class names
|