# Label
> Text in the ShellUI type scale, with sizes, weights and colour variants.
Source: https://native.shellui.dev/docs/components/form/label
The class is `ShellLabel`, since both MAUI and Avalonia already have a `Label`.
## Installation
```bash
shellui-native add label
```
**Platforms:** MAUI · Avalonia.
## Usage
### Sizes, weights and variants
**MAUI**
```xml
```
**Avalonia**
```xml
```
[Live preview](https://native.shellui.dev/preview/index.html?c=label-variants)
## MAUI and Avalonia
Both wrap long text. Avalonia's `ShellLabel` is a `TextBlock`, so it also takes the TextBlock properties (`TextWrapping="NoWrap"` for one line, `TextAlignment`, …).
## API
| Property | Type | Default | Description |
|---|---|---|---|
| `Text` | `string` | — | Text shown by the component. |
| `Size` | `LabelSize` | `Default` | Size preset. One of `Xs`, `Sm`, `Default`, `Lg`, `Xl`, `Xxl`, `Xxxl`. |
| `Weight` | `LabelWeight` | `Normal` | One of `Light`, `Normal`, `Medium`, `Semibold`, `Bold`. |
| `Variant` | `LabelVariant` | `Default` | Visual style. One of `Default`, `Muted`, `Destructive`, `Success`, `Warning`. |
| `HorizontalTextAlignment` | `TextAlignment` | `Start` | Passed to the inner `Label`: `Start`, `Center` or `End`. MAUI only. |
| `LineBreakMode` | `LineBreakMode` | `WordWrap` | Passed to the inner `Label`: how long text wraps or is cut off. MAUI only. |