# BadgeStyle

Canonical page: https://www.adaptabletools.com/docs/reference/badgestyle

Collection of Badge Style Definitions to display in a Badge Styled Column

```ts title="TypeScript"
export interface BadgeStyle 
```

## Properties

| Property | Type | Description | Default |
| --- | --- | --- | --- |
| [Badges](https://www.adaptabletools.com/docs/reference/badgestyle.md#badges) | [`BadgeStyleDefinition`](https://www.adaptabletools.com/docs/reference/badgestyledefinition.md)`[]` | Collection of Badge Style Definitions |   |
| [Cell](https://www.adaptabletools.com/docs/reference/badgestyle.md#cell) | [`CellBoxStyle`](https://www.adaptabletools.com/docs/reference/cellboxstyle.md) | Optional cell-box styling applied to grid cell **behind** the badges |   |
| [Density](https://www.adaptabletools.com/docs/reference/badgestyle.md#density) | [`BadgeDensity`](https://www.adaptabletools.com/docs/reference/badgedensity.md) | Density preset shared by every badge in the column - controls inner padding. | &#39;Normal&#39; |
| [Font](https://www.adaptabletools.com/docs/reference/badgestyle.md#font) | [`CellFontStyle`](https://www.adaptabletools.com/docs/reference/cellfontstyle.md) | Optional column-level Font (only Alignment is meaningful for Badge cells) |   |
| [OverflowMode](https://www.adaptabletools.com/docs/reference/badgestyle.md#overflowmode) | [`BadgeOverflowMode`](https://www.adaptabletools.com/docs/reference/badgeoverflowmode.md) | How badges lay out in array-column cells where space is tight | &#39;Truncate&#39; |
| [Spacing](https://www.adaptabletools.com/docs/reference/badgestyle.md#spacing) | `number` | Pixel gap between adjacent badges in array-column cells | 4 |

## Property Details

### Badges

Collection of Badge Style Definitions

```ts title="TypeScript"
Badges?: BadgeStyleDefinition[];
```

###### Property Value

[`BadgeStyleDefinition`](https://www.adaptabletools.com/docs/reference/badgestyledefinition.md)`[]`

### Cell

Optional cell-box styling applied to grid cell **behind** the badges

```ts title="TypeScript"
Cell?: CellBoxStyle;
```

###### Property Value

[`CellBoxStyle`](https://www.adaptabletools.com/docs/reference/cellboxstyle.md)

### Density

Density preset shared by every badge in the column - controls inner padding.

```ts title="TypeScript"
Density?: BadgeDensity;
```

###### Default Value

&#39;Normal&#39;

###### Property Value

[`BadgeDensity`](https://www.adaptabletools.com/docs/reference/badgedensity.md)

### Font

Optional column-level Font (only Alignment is meaningful for Badge cells)

```ts title="TypeScript"
Font?: CellFontStyle;
```

###### Property Value

[`CellFontStyle`](https://www.adaptabletools.com/docs/reference/cellfontstyle.md)

### OverflowMode

How badges lay out in array-column cells where space is tight

```ts title="TypeScript"
OverflowMode?: BadgeOverflowMode;
```

###### Default Value

&#39;Truncate&#39;

###### Property Value

[`BadgeOverflowMode`](https://www.adaptabletools.com/docs/reference/badgeoverflowmode.md)

### Spacing

Pixel gap between adjacent badges in array-column cells

```ts title="TypeScript"
Spacing?: number;
```

###### Default Value

4

###### Property Value

`number`
