# Badge
```rust demo
let value = create_rw_signal(0);
view! {
"value:"
{move || value.get()}
}
```
### Badge Props
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| class | `MaybeSignal` | `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. |