import { Story, Canvas, ArgsTable } from '@storybook/addon-docs';

import { Tag } from './tag';

# Tag

The `Tag` is a component used to display text within a container.

<Canvas>
  <Story id="components-componentlibrary-tag--default-story" />
</Canvas>

## Props

The `Tag` accepts all props below as well as all [Box](/docs/components-ui-box--default-story#props) component props.

<ArgsTable of={Tag} />

### Label

The text content of the `Tag` component

<Canvas>
  <Story id="components-componentlibrary-tag--label" />
</Canvas>