---
id: Label
section: components
---

import { Fragment, useEffect, useRef, useState } from 'react';
import { Modal as ModalDeprecated, ModalVariant as ModalVariantDeprecated } from '@patternfly/react-core/deprecated';
import RhUiInformationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-information-fill-icon';

## Demos

### Editable labels with add dropdown

```ts file="../components/Label/examples/LabelGroupEditableAddDropdown.tsx"

```

### Editable labels with add modal

```ts file="../components/Label/examples/LabelGroupEditableAddModal.tsx"

```
