Toggle
DaisyUIToggle is a checkbox that looks like a switch.
Basic Toggle
Checked
Colors
Different semantic colors.
Sizes
From extra small to extra large.
Disabled
Disabled state.
Code Example
use rsxui::components::{Toggle, Color, Size};use rsx_macros::rsx;let html = rsx! { <Toggle />};// With color and checkedlet html = rsx! { <Toggle color={Color::Primary} checked={true} />};Created by Isak Rickyanto@2026