Skip to main content

Checkbox

Function Checkbox 

Source
pub fn Checkbox(props: CheckboxProps) -> Element
Expand description

Renders the official checkbox with controlled state and accessible interaction.

  • Complexity: O(attributes + children) render work.

ยงExamples

use adam_web_ui::components::checkbox::Checkbox;
use dioxus::prelude::*;
fn app() -> Element { rsx! { Checkbox { aria_label: "Enabled" } } }