# Button ```rust demo view! { } ``` ### Color ```rust demo view! { } ``` ### Icon ```rust demo view! { } ``` ### Disabled ```rust demo view! { } ``` ### Size ```rust demo view! { } ``` ### Group ```rust demo view! { } ``` ### Button Props | Name | Type | Default | Description | | --- | --- | --- | --- | | class | `MaybeSignal` | `Default::default()` | Additional classes for the button element. | | style | `MaybeSignal` | `Default::default()` | Button's style. | | variant | `MaybeSignal` | `ButtonVariant::Primary` | Button's variant. | | color | `MaybeSignal` | `ButtonColor::Primary` | Button's color. | | round | `MaybeSignal` | `false` | Whether the button shows rounded corners. | | circle | `MaybeSignal` | `false` | Whether the button is round. | | icon | `Option` | `None` | The icon of the button. | | loading | `MaybeSignal` | `false` | Whether the button shows the loading status. | | disabled | `MaybeSignal` | `false` | Whether the button is disabled. | | size | `MaybeSignal` | `ButtonSize::Medium` | Button size. | | on_click | `Option>` | `None` | Listen for button click events. | | children | `Children` | | Button's content. |