# InfoBadgeProps

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-view/generated/builders/trait-infobadgeprops/

**trait** · [`ferroui-view`](/docs/0.5.0/api/ferroui-view/) · v0.5.0

```rust
trait InfoBadgeProps: ElementBuilder
```

The properties and routed events of `InfoBadge`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L4431)

## Members

- [`value`](#function-value)
- [`icon_source`](#function-icon_source)

<a id="function-value"></a>

### value

```rust
fn value<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
```

Sets `InfoBadge::value_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L4433)

<a id="function-icon_source"></a>

### icon_source

```rust
fn icon_source<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::IconSource>>, M>) -> Self
```

Sets `InfoBadge::icon_source_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L4438)

## Trait implementations

- [`InfoBadgeProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-infobadgeprops/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
