# Badge ```rust demo view! { } ``` ### Appearance ```rust demo view! { "999+" "999+" "999+" "999+" } ``` ### Sizes ```rust demo view! { } ``` ### Color ```rust demo view! { "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" "999+" } ``` ### Badge Props | Name | Type | Default | Description | | --- | --- | --- | --- | | class | `OptionalProp>` | `Default::default()` | Addtional classes for the badge element. | | value | `MaybeSignal` | `0` | Badge's value. | | max | `MaybeSignal` | `u32::MAX` | The maximum number of the badge when its value overflows. | | variant | `MaybeSignal` | `BadgeVariant::Error` | Badge variant. | | dot | `MaybeSignal` | `false` | Show badge as dot. | | children | `Children` | | Badge's content. |