# SiBadgeComponent documentation

**Kind:** component

**Selector:** `si-badge`

```
import { SiBadgeComponent } from '@siemens/element-ng/badge';
```

```
component SiBadgeComponent
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/badge/si-badge.component.ts#L41-L41>) | `string \| undefined` | `''` | Optional icon |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/badge/si-badge.component.ts#L46-L46>) | `BadgeType` | `'default'` | Badge display type. |

### Types Documentation

### [BadgeType](<https://github.com/siemens/element/blob/main/projects/element-ng/badge/si-badge.component.ts#L9-L18>)

**Kind:** type alias

```
import type { BadgeType } from '@siemens/element-ng/badge';
```

```
type BadgeType = | StatusType
  | 'default'
  | 'inverse'
  | 'info-emphasis'
  | 'success-emphasis'
  | 'warning-emphasis'
  | 'danger-emphasis'
  | 'critical-emphasis'
  | 'caution-emphasis'
```

### [StatusType](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/status-type.model.ts#L7-L7>)

**Kind:** type alias

```
import type { StatusType } from '@siemens/element-ng/common';
```

```
type StatusType = 'success' | 'info' | 'warning' | 'danger' | 'caution' | 'critical'
```
