File Input

DaisyUI

File Input is an input field for uploading files.

Basic File Input
Colors

Different semantic colors.

Sizes

From extra small to extra large.

Code Example
use rsxui::components::{FileInput, Color, Size};
use rsx_macros::rsx;
let html = rsx! {
    <FileInput />
};
// With color
let html = rsx! {
    <FileInput color={Color::Primary} />
};