# Checkbox Component API A checkbox component for binary selection states. --- ## Installation ```toml # Cargo.toml [dependencies] shadcn-ui-leptos-checkbox = "0.7" ``` ```rust use shadcn_ui_leptos_checkbox::Checkbox; ``` --- ## Component API ### Checkbox | Prop | Type | Default | Description | |------|------|---------|-------------| | `checked` | `Signal` | **Required** | Checkbox state | | `on_change` | `Option>` | `None` | Change handler | | `disabled` | `Signal` | `false` | Disable checkbox | | `class` | `MaybeProp` | `None` | Additional CSS classes | | `id` | `MaybeProp` | `None` | Unique identifier | | `style` | `Signal