Package Exports
- @carbon/icons-react
- @carbon/icons-react/es/add/16
- @carbon/icons-react/es/add/20
- @carbon/icons-react/es/arrow--left/16
- @carbon/icons-react/es/arrow--left/20
- @carbon/icons-react/es/checkmark/20
- @carbon/icons-react/es/chevron--down/16
- @carbon/icons-react/es/chevron--up/16
- @carbon/icons-react/es/close/16
- @carbon/icons-react/es/close/20
- @carbon/icons-react/es/close/24
- @carbon/icons-react/es/delete/16
- @carbon/icons-react/es/download/16
- @carbon/icons-react/es/error/20
- @carbon/icons-react/es/export/24
- @carbon/icons-react/es/help/20
- @carbon/icons-react/es/launch/16
- @carbon/icons-react/es/menu/20
- @carbon/icons-react/es/notification/20
- @carbon/icons-react/es/overflow-menu--vertical/16
- @carbon/icons-react/es/overflow-menu--vertical/20
- @carbon/icons-react/es/overflow-menu--vertical/24
- @carbon/icons-react/es/overflow-menu--vertical/32
- @carbon/icons-react/es/radio-button/20
- @carbon/icons-react/es/restart/20
- @carbon/icons-react/es/save/16
- @carbon/icons-react/es/search/20
- @carbon/icons-react/es/settings/20
- @carbon/icons-react/es/subtract/16
- @carbon/icons-react/es/trash-can/20
- @carbon/icons-react/lib/add--alt/24
- @carbon/icons-react/lib/add--filled/16
- @carbon/icons-react/lib/add/16
- @carbon/icons-react/lib/add/20
- @carbon/icons-react/lib/app-switcher/20
- @carbon/icons-react/lib/arrow--left/16
- @carbon/icons-react/lib/arrow--left/20
- @carbon/icons-react/lib/arrow--up/20
- @carbon/icons-react/lib/arrows--vertical/20
- @carbon/icons-react/lib/calendar/16
- @carbon/icons-react/lib/caret--down/index
- @carbon/icons-react/lib/caret--left/24
- @carbon/icons-react/lib/caret--right/24
- @carbon/icons-react/lib/caret--up
- @carbon/icons-react/lib/caret--up/index
- @carbon/icons-react/lib/checkmark--filled/16
- @carbon/icons-react/lib/checkmark--filled/20
- @carbon/icons-react/lib/checkmark--filled/24
- @carbon/icons-react/lib/checkmark--outline/16
- @carbon/icons-react/lib/checkmark/20
- @carbon/icons-react/lib/chevron--down
- @carbon/icons-react/lib/chevron--down/16
- @carbon/icons-react/lib/chevron--down/20
- @carbon/icons-react/lib/chevron--down/index
- @carbon/icons-react/lib/chevron--right/16
- @carbon/icons-react/lib/chevron--right/20
- @carbon/icons-react/lib/chevron--right/24
- @carbon/icons-react/lib/chevron--up/16
- @carbon/icons-react/lib/chevron--up/20
- @carbon/icons-react/lib/close--filled/16
- @carbon/icons-react/lib/close/16
- @carbon/icons-react/lib/close/20
- @carbon/icons-react/lib/copy/16
- @carbon/icons-react/lib/delete/16
- @carbon/icons-react/lib/download/16
- @carbon/icons-react/lib/edit/16
- @carbon/icons-react/lib/error--filled/16
- @carbon/icons-react/lib/error--filled/20
- @carbon/icons-react/lib/error/20
- @carbon/icons-react/lib/filter/16
- @carbon/icons-react/lib/grid/16
- @carbon/icons-react/lib/help/20
- @carbon/icons-react/lib/information--filled/16
- @carbon/icons-react/lib/information/16
- @carbon/icons-react/lib/launch/16
- @carbon/icons-react/lib/list--bulleted/16
- @carbon/icons-react/lib/menu/20
- @carbon/icons-react/lib/notification/16
- @carbon/icons-react/lib/notification/20
- @carbon/icons-react/lib/notification/24
- @carbon/icons-react/lib/overflow-menu--vertical/16
- @carbon/icons-react/lib/overflow-menu--vertical/20
- @carbon/icons-react/lib/overflow-menu--vertical/24
- @carbon/icons-react/lib/overflow-menu--vertical/32
- @carbon/icons-react/lib/radio-button/20
- @carbon/icons-react/lib/restart/20
- @carbon/icons-react/lib/restart/32
- @carbon/icons-react/lib/save/16
- @carbon/icons-react/lib/search/16
- @carbon/icons-react/lib/search/20
- @carbon/icons-react/lib/settings/16
- @carbon/icons-react/lib/settings/20
- @carbon/icons-react/lib/stop--filled/16
- @carbon/icons-react/lib/subtract--alt/24
- @carbon/icons-react/lib/subtract/16
- @carbon/icons-react/lib/time/20
- @carbon/icons-react/lib/trash-can/20
- @carbon/icons-react/lib/user/16
- @carbon/icons-react/lib/view--off/16
- @carbon/icons-react/lib/view/16
- @carbon/icons-react/lib/warning--alt--filled/16
- @carbon/icons-react/lib/warning--filled/16
- @carbon/icons-react/lib/warning--filled/20
- @carbon/icons-react/lib/warning/16
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@carbon/icons-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@carbon/icons-react
React components for icons in digital and software products using the Carbon Design System.
Getting Started
Run the following command using npm:
npm install -S @carbon/icons-react
If you prefer Yarn, use the following command instead:
yarn add @carbon/icons-react
Usage
Icons in this package support the following sizes: 16
, 20
, 24
, and 32
pixels. These sizes refer to the width and height of the icon. You can import an
icon component into your project by doing one of the following:
// Do this if your bundler supports tree-shaking, otherwise prefer the full-path
// import since importing the main bundle will cause you to distribute the full
// 600kb bundle
import { Add24 } from '@carbon/icons-react';
// If you want to guarantee that you're only importing the exact icon
import Add24 from '@carbon/icons-react/lib/Add/24';
We also provide CommonJS and UMD files in the lib
and umd
directories,
respectively.
To import using CommonJS, you can do the following:
const Add24 = require('@carbon/icons-react/lib/Add/24');
🤲 Contributing
Looking to contribute? You should start here!