Select

DaisyUI

Select is a dropdown for choosing from a list of options.

Basic Select
Colors

Different semantic colors.

Sizes

From extra small to extra large.

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