Button

DaisyUI

Buttons allow users to take actions and make choices with a single tap.

Colors
Sizes
Styles
Modifiers
States
Types
Custom Classes
Code Example
use rsxui::components::{Button, Color, Size, ButtonStyle};
use rsx_macros::rsx;
let html = rsx! {
    <Button label="Primary" color=Color::Primary size=Size::Lg />
    <Button label="Outline" style=ButtonStyle::Outline />
    <Button label="Disabled" disabled=true />
};