Switch
Notification Settings
Receive emails about new products, features, and more.
Receive notifications directly on your device.
Managed by your organization.
States
Usage
use maud_ui::primitives::switch;
let html = switch::render(switch::Props {
name: "dark-mode".into(),
id: "dark-mode-switch".into(),
label: "Dark mode".into(),
checked: true,
disabled: false,
});