# Tag This component is displayed as an accessible tag with an optional link and/or button to remove it. ## Installation ```sh yarn add @chakra-ui/tag ``` ## Import component ```jsx import { Tag } from "@chakra-ui/tag" ``` ## Basic Usage ```jsx ``` ## Sizes Pass the `size` prop to change the size of the tag. ```jsx <> Gray Gray Gray ``` ## Color Pass the `colorScheme` prop to change the background color of the tag component ```jsx <> Pink ``` ## With icon The tag component can contain an Icon. This is done by using the `TagIcon` component within the tag component. ```jsx <> Green ``` ## With close button Use the `TagCloseButton` to apply a close button to the tag component. ```jsx Tab Label ``` ## With custom element Tag component can contain a custom element. This is done by placing the custom element within the tag component. ```jsx Segun ```