# Appearance Settings

The Badge component features built-in appearance parameters that allow you to customize virtually every aspect of its look and feel.

## FillMode

You can toggle the Badge border and background by setting the `FillMode` parameter to a member of the `Telerik.Blazor.ThemeConstants.Badge.FillMode` class:

<style>
    .article table {
        table-layout: auto;
        word-break: normal;
    }
</style>

| Class members           | Manual declarations |
| ----------------------- | ------------------- |
| `Solid` (default value) | `solid`             |
| `Flat`                  | `flat`              |
| `Outline`               | `outline`           |

Refer to the [example](https://www.telerik.com/blazor-ui/documentation/components/badge/appearance#example) below to customize the available parameters and observe their impact on the Badge component.

## Rounded

The `Rounded` parameter applies the `border-radius` CSS rule to the Badge and lets you curve its edges. You can set it to a member of the `Telerik.Blazor.ThemeConstants.Badge.Rounded` class:

<style>
    .article table {
        table-layout: auto;
        word-break: normal;
    }
</style>

| Class members          | Manual declarations |
| ---------------------- | ------------------- |
| `Small`                | `sm`                |
| `Medium`               | `md`                |
| `Large`                | `lg`                |
| `Full` (default value) | `full`              |

Refer to the [example](https://www.telerik.com/blazor-ui/documentation/components/badge/appearance#example) below to customize the available parameters and observe their impact on the Badge component.

## Size

You can increase or decrease the size of the Badge by setting the `Size` parameter to a member of the `Telerik.Blazor.ThemeConstants.Badge.Size` class:

<style>
    .article table {
        table-layout: auto;
        word-break: normal;
    }
</style>

| Class members            | Manual declarations |
| ------------------------ | ------------------- |
| `Small`                  | `sm`                |
| `Medium` (default value) | `md`                |
| `Large`                  | `lg`                |

Refer to the [example](https://www.telerik.com/blazor-ui/documentation/components/badge/appearance#example) below to customize the available parameters and observe their impact on the Badge component.

## ThemeColor

You can change the color of the Badge by setting the `ThemeColor` parameter to a member of the `Telerik.Blazor.ThemeConstants.Badge.ThemeColor` class:

<style>
    .article table {
        table-layout: auto;
        word-break: normal;
    }
</style>

| Class members | Manual declarations |
| ------------- | ------------------- |
| `Base`        | `base`              |
| `Primary`     | `primary`           |
| `Secondary`   | `secondary`         |
| `Tertiary`    | `tertiary`          |
| `Info`        | `info`              |
| `Success`     | `success`           |
| `Warning`     | `warning`           |
| `Error`       | `error`             |

Refer to the [example](https://www.telerik.com/blazor-ui/documentation/components/badge/appearance#example) below to customize the available parameters and observe their impact on the Badge component.

## Example

The following example lets you experiment with the available settings that control the appearance of the Badge. It starts with the default component behavior.

<demo metaUrl="client/badge/appearance/" height="450"></demo>

## See Also

* [Live Demo: Badge Appearance](https://demos.telerik.com/blazor-ui/badge/appearance)
