# Icons

> Explore Cimpress UI's icon library.

Source: https://ui.cimpress.io/foundations/icons/

Icons are visual symbols that help communicate meaning, actions, and navigation throughout an interface. The Cimpress UI library provides a collection of icons as React components that can be imported from `@cimpress-ui/react/icons`.

## Usage

```tsx
import { IconAdd } from '@cimpress-ui/react/icons';

export default function Demo() {
  return <IconAdd />;
}
```

## Size

Icons can be sized using the `size` prop, which accepts `16`, `24` and `32` as valid pixel sizes.

```tsx
import { Stack } from '@cimpress-ui/react';
import { IconAddCircleFill } from '@cimpress-ui/react/icons';

export default function Demo() {
  return (
    <Stack gap={16} direction="horizontal" align="center">
      <IconAddCircleFill size={16} />
      <IconAddCircleFill size={24} />
      <IconAddCircleFill size={32} />
    </Stack>
  );
}
```

## Tone

Icons can be customized with different foreground colors using the `tone` prop. For information about available foreground colors and their intended use, please refer to the [foreground colors documentation](/foundations/colors#foreground).

```tsx
import { Stack, Text, type ForegroundTone } from '@cimpress-ui/react';
import { IconPlaceholder } from '@cimpress-ui/react/icons';

const tones: NonNullable<ForegroundTone>[] = [
  'base',
  'subtle',
  'muted',
  'inverse',
  'accent',
  'info',
  'success',
  'warning',
  'critical',
];

const toneNameMaxLength = Math.max(...tones.map((tone) => tone.length));

export default function Example() {
  return (
    <div
      style={{
        display: 'grid',
        gridTemplateColumns: `repeat(auto-fit, minmax(${toneNameMaxLength}ch, 1fr))`,
        fontSize: 14,
        gap: 8,
      }}
    >
      {tones.map((tone) => (
        <Stack
          key={tone}
          gap={8}
          align="center"
          UNSAFE_style={{
            backgroundColor: tone === 'inverse' ? 'var(--cim-bg-accent)' : undefined,
            padding: 8,
          }}
        >
          <IconPlaceholder key={tone} tone={tone} size={32} />
          <Text as="span" tone={tone}>
            {tone}
          </Text>
        </Stack>
      ))}
    </div>
  );
}
```

## Accessibility

By default, the icon components from `@cimpress-ui/react/icons` are treated as decorative content. This means that we set `aria-hidden="true"` unless certain props are passed to the component.

If you would like the icon to be announced by a screen reader, you can supply an `aria-label` or `aria-labelledby`. For example:

```tsx
import { IconAdd } from '@cimpress-ui/react/icons';

function App() {
  return <IconAdd aria-label="Add" />;
}
```

## Icons catalog

- `IconActionRedo`
- `IconActionUndo`
- `IconAdd`
- `IconAddBold`
- `IconAddCircle`
- `IconAddCircleFill`
- `IconAddSquare`
- `IconAddSquareFill`
- `IconAi`
- `IconAiExpand`
- `IconAlignHorizontalCenter`
- `IconAlignHorizontalLeft`
- `IconAlignHorizontalRight`
- `IconAlignVerticalBottom`
- `IconAlignVerticalCenter`
- `IconAlignVerticalTop`
- `IconAnalyticsBars`
- `IconAnalyticsGraph`
- `IconAnalyticsPie`
- `IconAnalyticsPieFill`
- `IconAppWindowLayout`
- `IconAppWindowNext`
- `IconAppWindowPrevious`
- `IconAppWindowSearch`
- `IconArrowDown`
- `IconArrowDownBold`
- `IconArrowLeft`
- `IconArrowLeftBold`
- `IconArrowRight`
- `IconArrowRightBold`
- `IconArrowUp`
- `IconArrowUpBold`
- `IconAttachment`
- `IconBarcode`
- `IconBell`
- `IconBellOff`
- `IconBolt`
- `IconBookOpen`
- `IconBookOpenFill`
- `IconBookmark`
- `IconBookmarkFill`
- `IconBorderDashed`
- `IconBorderSolid`
- `IconBrackets`
- `IconCalculator`
- `IconCalculatorAlt`
- `IconCalendar`
- `IconCalendarFill`
- `IconCalendarEmpty`
- `IconCarousel`
- `IconCart`
- `IconCaseLower`
- `IconCaseNormal`
- `IconCaseUpper`
- `IconCategoryApparel`
- `IconCategoryBag`
- `IconCategoryBook`
- `IconCategoryGift`
- `IconCategoryLargeFormat`
- `IconCategoryNewspaper`
- `IconCategoryPackage`
- `IconCategoryPromoProduct`
- `IconCategorySmallFormat`
- `IconChat`
- `IconCheck`
- `IconCheckBold`
- `IconCheckBadge`
- `IconCheckBadgeFill`
- `IconCheckCircle`
- `IconCheckCircleFill`
- `IconCheckSquare`
- `IconCheckSquareFill`
- `IconChevronDoubleDown`
- `IconChevronDoubleLeft`
- `IconChevronDoubleRight`
- `IconChevronDoubleUp`
- `IconChevronDown`
- `IconChevronDownBold`
- `IconChevronExpand`
- `IconChevronExpandBold`
- `IconChevronLeft`
- `IconChevronLeftBold`
- `IconChevronRight`
- `IconChevronRightBold`
- `IconChevronUp`
- `IconChevronUpBold`
- `IconCircleBoldFill`
- `IconClock`
- `IconClockFill`
- `IconClockHistory`
- `IconClockUser`
- `IconClose`
- `IconCloseBold`
- `IconCloseCircle`
- `IconCloseCircleFill`
- `IconCloudLinks`
- `IconCoinsBill`
- `IconColumns`
- `IconCopy`
- `IconCopyPaste`
- `IconCrop`
- `IconCrosshair`
- `IconCrown`
- `IconCut`
- `IconDatabase`
- `IconDeliveryBox`
- `IconDeliveryPlane`
- `IconDeliveryTruck`
- `IconDeliveryTruckFill`
- `IconDownload`
- `IconDragHandle`
- `IconDuplicate`
- `IconEmail`
- `IconEmailOpen`
- `IconError`
- `IconErrorFill`
- `IconExpand`
- `IconExperiment`
- `IconExternalLink`
- `IconExternalSlack`
- `IconFile`
- `IconFileDesign`
- `IconFileFinances`
- `IconFileText`
- `IconFill`
- `IconFilter`
- `IconFit`
- `IconFlipHorizontal`
- `IconFlipVertical`
- `IconFlow`
- `IconFolderDatabase`
- `IconGlobe`
- `IconGrid`
- `IconHome`
- `IconIdentificationCard`
- `IconImage`
- `IconImageFill`
- `IconImageBroken`
- `IconInfoCircle`
- `IconInfoCircleFill`
- `IconInvoice`
- `IconKeyboard`
- `IconLayerDown`
- `IconLayerUp`
- `IconLayers`
- `IconLink`
- `IconLinkBroken`
- `IconListBullets`
- `IconListNumbers`
- `IconLock`
- `IconLockFill`
- `IconLockOpen`
- `IconLockOpenFill`
- `IconLoudspeaker`
- `IconMenu`
- `IconMenuBold`
- `IconMenuGrid`
- `IconMenuMoreHorizontal`
- `IconMenuMoreVertical`
- `IconMobilePhone`
- `IconOpacity`
- `IconPause`
- `IconPencil`
- `IconPencilFill`
- `IconPhone`
- `IconPinMap`
- `IconPlaceholder`
- `IconPlacement`
- `IconPlay`
- `IconPointer`
- `IconPrint`
- `IconPushLeft`
- `IconPushRight`
- `IconQrcode`
- `IconQuery`
- `IconQuestionCircle`
- `IconQuestionCircleFill`
- `IconRatingStar`
- `IconRatingStarFill`
- `IconRatingStarBold`
- `IconRatingStarBoldFill`
- `IconRefresh`
- `IconReplace`
- `IconReplaceImage`
- `IconRotationAngle`
- `IconRows`
- `IconRules`
- `IconSave`
- `IconSearch`
- `IconSearchBold`
- `IconSettingsCog`
- `IconSettingsCogFill`
- `IconSettingsSlider`
- `IconShapeCircle`
- `IconShapeLine`
- `IconShapeRectangle`
- `IconShapeTriangle`
- `IconShapes`
- `IconShare`
- `IconShareAlt`
- `IconShirtAdd`
- `IconShop`
- `IconSortAscending`
- `IconSortAscendingAlt`
- `IconSortDescending`
- `IconSortDescendingAlt`
- `IconSortUnsorted`
- `IconStyleColor`
- `IconStyleEmbroidery`
- `IconStyleMonochrome`
- `IconSubtract`
- `IconSubtractBold`
- `IconTable`
- `IconTags`
- `IconTarget`
- `IconText`
- `IconTextBold`
- `IconTextAlignmentCenter`
- `IconTextAlignmentJustify`
- `IconTextAlignmentLeft`
- `IconTextAlignmentRight`
- `IconTextFormat`
- `IconTextItalic`
- `IconTextStrikethrough`
- `IconTextUnderline`
- `IconThumbsDown`
- `IconThumbsUp`
- `IconTranslate`
- `IconTrash`
- `IconTrashFill`
- `IconTreeDiagram`
- `IconUpload`
- `IconUser`
- `IconUserReplace`
- `IconUsers`
- `IconVariants`
- `IconView`
- `IconViewOff`
- `IconWallet`
- `IconWalletRefund`
- `IconWarning`
- `IconWarningFill`
- `IconWarningCircleFill`
- `IconZoomIn`
- `IconZoomOut`
