# tag

```ts
import { TagModule } from '@anguless/angulux/tag';
```

## Tag

`agl-tag` — component

Inherits every input, output and slot of `BaseComponent` — see [basecomponent.md](basecomponent.md).

Tag component is used to categorize content.

| Input | Type | Default | Description |
| --- | --- | --- | --- |
| `styleClass` | `string \| undefined` | _not documented_ | Style class of the component. **Deprecated:** since v20.0.0, use `class` instead. |
| `severity` | `'success' \| 'secondary' \| 'info' \| 'warn' \| 'danger' \| 'contrast' \| undefined \| null` | _not documented_ | Severity type of the tag. |
| `value` | `string \| undefined` | _not documented_ | Value to display inside the tag. |
| `icon` | `string \| undefined` | _not documented_ | Icon of the tag to display next to the value. |
| `rounded` | `boolean \| undefined` | _not documented_ | Whether the corners of the tag are rounded. |

| Slot | Read as | Description |
| --- | --- | --- |
| `<ng-template #icon>` | `iconTemplate` | Custom icon template. |
