Checkbox

DaisyUI

Checkbox is used to select or deselect a value.

Basic Checkbox
Checked
Colors

Different semantic colors.

Sizes

From extra small to extra large.

Disabled

Disabled state.

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