# ak-icon

> A react package that contains icons

Latest version **14.0.0** (published 2017-01-19) · SEE LICENSE IN LICENSE license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install ak-icon
pnpm add ak-icon
yarn add ak-icon
bun add ak-icon
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 14.0.0 |
| Published | 2017-01-19 |
| First published | 2016-08-12 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Atlassian Pty Ltd |
| Maintainers | atlassian-aui |
| Keywords | atlaskit, ui |

## Links

- npm: https://www.npmjs.com/package/ak-icon
- Repository: https://bitbucket.org/atlassian/atlaskit
- Homepage: https://bitbucket.org/atlassian/atlaskit#readme
- npm.io page: https://npm.io/package/ak-icon

## Dependencies (3)

- [classnames](https://npm.io/package/classnames.md) ^2.2.5
- [create-error](https://npm.io/package/create-error.md) ^0.3.1
- [babel-runtime](https://npm.io/package/babel-runtime.md) ^6.11.6

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 14.0.0 (latest) — 2017-01-19
- 12.2.1 — 2017-01-19
- 12.2.0 — 2017-01-05
- 12.1.3 — 2017-01-03
- 12.1.2 — 2017-01-03
- 12.1.1 — 2016-12-29
- 12.1.0 — 2016-12-23
- 12.0.1 — 2016-12-21
- 12.0.0 — 2016-12-20
- 11.6.1 — 2016-12-20
- 11.6.0 — 2016-12-14
- 11.5.0 — 2016-12-14
- 11.4.2 — 2016-12-13
- 11.4.1 — 2016-12-13
- 11.4.0 — 2016-12-11
- … 64 more at https://npm.io/package/ak-icon/versions

## README

[![AtlasKit component registry](https://img.shields.io/badge/AtlasKit-components-FF5230.svg)](http://aui-cdn.atlassian.com/atlaskit/registry/)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://Commitizen.github.io/cz-cli/)
[![semantic-release](https://img.shields.io/badge/GitHub-semantic_release-ffab00.svg)](https://github.com/semantic-release/semantic-release)
[![Report an issue](https://img.shields.io/badge/Report-an_issue-6554C0.svg)](https://ecosystem.atlassian.net/browse/AK)
[![Ask in our forum](https://img.shields.io/badge/Ask-in_our_forum-6554C0.svg)](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,ak-icon,ak-icon@14.0.0)

# Icon
This package contains the AtlasKit icons. All icons should be consumed separately unless your build tool supports tree shaking.

> This packages is licensed under the Atlassian Design Guidelines - please check the LICENSE file for more information.

![Example icon](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/docs/icon.png)

## Try it out

Interact with a [live demo of the ak-icon component.](https://aui-cdn.atlassian.com/atlaskit/stories/ak-icon/14.0.0/)

## Installation

```sh
npm install ak-icon
```

## Using the component

### HTML

The `ak-icon` package exports the Icon React components.

Import the component in your React app as follows:

#### bundle.js

```js
import AkIconHome from 'ak-icon/glyph/home';
ReactDOM.render(<AkIconHome />, container);
```

## Controlling the icon color

You can control the icon color via CSS:

```html
<span style={{color: 'red'}}>
  <AkIconHome />
</span>
```

## Use the bundle (all icons)

This package provides all icons bundled in one export but unless your build tool supports tree shaking, you should import only a single icon instead of the bundled version.

### bundle.js

```js
import * as icons from 'ak-icon';
const { BitbucketLogo } = icons;

ReactDOM.render(<BitbucketLogo />, container);
```

Importing a single icon (this will still bundle **all** of the icons in your final bundle if you don't use tree shaking):

```js
import BitbucketLogo from 'ak-icon';

ReactDOM.render(<BitbucketLogo />, container);
```

### Adding new icons
Adding new icons is as simple as checking out the Atlaskit repo, adding your svg file to `/packages/ak-icon/src/icons` and running

```sh
npm run prepublish
```

from within the `ak-icon` package. This will clean up the svg and generate a new `src/index.jsx` file and update all the stories in storybook to use it.

Some things to look for:
* If your icon is used only in a specific context or product, place it in `/ak-icon/src/icons/subfolder` and it will be namespaced appropriately.
* Check that the icon appears in the `All icons` story. Look for any clipping or sizing issues here.
* Check the `All icons (usage)` story to make sure the naming has worked as expected (paths/namespacing makes sense, etc).
* Check the `Icons with broken fills (solid parts)` story to make sure that no parts of your svg have hardcoded colors.
  * If any parts of your icon appear to be dark, check the svg file for instances of `fill="XXXXX"` and replace them with `fill="currentColor"`.
* Check the `Icons that are too big (red parts)` story to show any parts of the icon that fall outside the 20x20 size that icons should fill.
* Make sure you update the test in `ak-icon/test/indexSpec.jsx` to include your icon.
* Make sure you use the appropriate commit message when adding or modifying icons
  * changing an icon is a patch
  * adding an icon is a feature
  * removing an icon is breaking change
  * renaming an icon is a breaking change

## Icons
These are the icons that are currently bundled in `ak-icon`.

|Icon|Import|Webcomponent|
|----|------|------------|
|!["arrowleft"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/arrowleft.svg "arrowleft")|`import 'ak-icon/glyph/arrowleft';`|`<ak-icon-arrowleft />`|
|!["arrowright"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/arrowright.svg "arrowright")|`import 'ak-icon/glyph/arrowright';`|`<ak-icon-arrowright />`|
|!["arrowrightlong"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/arrowrightlong.svg "arrowrightlong")|`import 'ak-icon/glyph/arrowrightlong';`|`<ak-icon-arrowrightlong />`|
|!["atlassian"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/atlassian.svg "atlassian")|`import 'ak-icon/glyph/atlassian';`|`<ak-icon-atlassian />`|
|!["bitbucket/addons"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/addons.svg "bitbucket/addons")|`import 'ak-icon/glyph/bitbucket/addons';`|`<ak-icon-bitbucket-addons />`|
|!["bitbucket/admin"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/admin.svg "bitbucket/admin")|`import 'ak-icon/glyph/bitbucket/admin';`|`<ak-icon-bitbucket-admin />`|
|!["bitbucket/branches"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/branches.svg "bitbucket/branches")|`import 'ak-icon/glyph/bitbucket/branches';`|`<ak-icon-bitbucket-branches />`|
|!["bitbucket/builds"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/builds.svg "bitbucket/builds")|`import 'ak-icon/glyph/bitbucket/builds';`|`<ak-icon-bitbucket-builds />`|
|!["bitbucket/commits"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/commits.svg "bitbucket/commits")|`import 'ak-icon/glyph/bitbucket/commits';`|`<ak-icon-bitbucket-commits />`|
|!["bitbucket/dashboard"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/dashboard.svg "bitbucket/dashboard")|`import 'ak-icon/glyph/bitbucket/dashboard';`|`<ak-icon-bitbucket-dashboard />`|
|!["bitbucket/downloads"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/downloads.svg "bitbucket/downloads")|`import 'ak-icon/glyph/bitbucket/downloads';`|`<ak-icon-bitbucket-downloads />`|
|!["bitbucket/followers"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/followers.svg "bitbucket/followers")|`import 'ak-icon/glyph/bitbucket/followers';`|`<ak-icon-bitbucket-followers />`|
|!["bitbucket/following"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/following.svg "bitbucket/following")|`import 'ak-icon/glyph/bitbucket/following';`|`<ak-icon-bitbucket-following />`|
|!["bitbucket/issues"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/issues.svg "bitbucket/issues")|`import 'ak-icon/glyph/bitbucket/issues';`|`<ak-icon-bitbucket-issues />`|
|!["bitbucket/logo"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/logo.svg "bitbucket/logo")|`import 'ak-icon/glyph/bitbucket/logo';`|`<ak-icon-bitbucket-logo />`|
|!["bitbucket/members"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/members.svg "bitbucket/members")|`import 'ak-icon/glyph/bitbucket/members';`|`<ak-icon-bitbucket-members />`|
|!["bitbucket/optout"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/optout.svg "bitbucket/optout")|`import 'ak-icon/glyph/bitbucket/optout';`|`<ak-icon-bitbucket-optout />`|
|!["bitbucket/pipelines"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/pipelines.svg "bitbucket/pipelines")|`import 'ak-icon/glyph/bitbucket/pipelines';`|`<ak-icon-bitbucket-pipelines />`|
|!["bitbucket/projects"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/projects.svg "bitbucket/projects")|`import 'ak-icon/glyph/bitbucket/projects';`|`<ak-icon-bitbucket-projects />`|
|!["bitbucket/pullrequests"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/pullrequests.svg "bitbucket/pullrequests")|`import 'ak-icon/glyph/bitbucket/pullrequests';`|`<ak-icon-bitbucket-pullrequests />`|
|!["bitbucket/repos"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/repos.svg "bitbucket/repos")|`import 'ak-icon/glyph/bitbucket/repos';`|`<ak-icon-bitbucket-repos />`|
|!["bitbucket/repositories"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/repositories.svg "bitbucket/repositories")|`import 'ak-icon/glyph/bitbucket/repositories';`|`<ak-icon-bitbucket-repositories />`|
|!["bitbucket/snippets"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/snippets.svg "bitbucket/snippets")|`import 'ak-icon/glyph/bitbucket/snippets';`|`<ak-icon-bitbucket-snippets />`|
|!["bitbucket/source"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/source.svg "bitbucket/source")|`import 'ak-icon/glyph/bitbucket/source';`|`<ak-icon-bitbucket-source />`|
|!["bitbucket/teams"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/teams.svg "bitbucket/teams")|`import 'ak-icon/glyph/bitbucket/teams';`|`<ak-icon-bitbucket-teams />`|
|!["bitbucket/wiki"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/bitbucket/wiki.svg "bitbucket/wiki")|`import 'ak-icon/glyph/bitbucket/wiki';`|`<ak-icon-bitbucket-wiki />`|
|!["cancel"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/cancel.svg "cancel")|`import 'ak-icon/glyph/cancel';`|`<ak-icon-cancel />`|
|!["checkbox"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/checkbox.svg "checkbox")|`import 'ak-icon/glyph/checkbox';`|`<ak-icon-checkbox />`|
|!["confirm"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/confirm.svg "confirm")|`import 'ak-icon/glyph/confirm';`|`<ak-icon-confirm />`|
|!["confluence/calendar"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/confluence/calendar.svg "confluence/calendar")|`import 'ak-icon/glyph/confluence/calendar';`|`<ak-icon-confluence-calendar />`|
|!["confluence/canvas"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/confluence/canvas.svg "confluence/canvas")|`import 'ak-icon/glyph/confluence/canvas';`|`<ak-icon-confluence-canvas />`|
|!["confluence/page"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/confluence/page.svg "confluence/page")|`import 'ak-icon/glyph/confluence/page';`|`<ak-icon-confluence-page />`|
|!["confluence/person"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/confluence/person.svg "confluence/person")|`import 'ak-icon/glyph/confluence/person';`|`<ak-icon-confluence-person />`|
|!["confluence/quote"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/confluence/quote.svg "confluence/quote")|`import 'ak-icon/glyph/confluence/quote';`|`<ak-icon-confluence-quote />`|
|!["create"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/create.svg "create")|`import 'ak-icon/glyph/create';`|`<ak-icon-create />`|
|!["dashboard"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/dashboard.svg "dashboard")|`import 'ak-icon/glyph/dashboard';`|`<ak-icon-dashboard />`|
|!["edit"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/edit.svg "edit")|`import 'ak-icon/glyph/edit';`|`<ak-icon-edit />`|
|!["editor/advanced"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/editor/advanced.svg "editor/advanced")|`import 'ak-icon/glyph/editor/advanced';`|`<ak-icon-editor-advanced />`|
|!["editor/bold"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/editor/bold.svg "editor/bold")|`import 'ak-icon/glyph/editor/bold';`|`<ak-icon-editor-bold />`|
|!["editor/code"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/editor/code.svg "editor/code")|`import 'ak-icon/glyph/editor/code';`|`<ak-icon-editor-code />`|
|!["editor/image"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/editor/image.svg "editor/image")|`import 'ak-icon/glyph/editor/image';`|`<ak-icon-editor-image />`|
|!["editor/italic"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/editor/italic.svg "editor/italic")|`import 'ak-icon/glyph/editor/italic';`|`<ak-icon-editor-italic />`|
|!["editor/link"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/editor/link.svg "editor/link")|`import 'ak-icon/glyph/editor/link';`|`<ak-icon-editor-link />`|
|!["editor/list/bullet"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/editor/list/bullet.svg "editor/list/bullet")|`import 'ak-icon/glyph/editor/list/bullet';`|`<ak-icon-editor-list-bullet />`|
|!["editor/list/number"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/editor/list/number.svg "editor/list/number")|`import 'ak-icon/glyph/editor/list/number';`|`<ak-icon-editor-list-number />`|
|!["editor/mention"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/editor/mention.svg "editor/mention")|`import 'ak-icon/glyph/editor/mention';`|`<ak-icon-editor-mention />`|
|!["editor/open"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/editor/open.svg "editor/open")|`import 'ak-icon/glyph/editor/open';`|`<ak-icon-editor-open />`|
|!["editor/underline"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/editor/underline.svg "editor/underline")|`import 'ak-icon/glyph/editor/underline';`|`<ak-icon-editor-underline />`|
|!["editor/unlink"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/editor/unlink.svg "editor/unlink")|`import 'ak-icon/glyph/editor/unlink';`|`<ak-icon-editor-unlink />`|
|!["emoji/activity"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/emoji/activity.svg "emoji/activity")|`import 'ak-icon/glyph/emoji/activity';`|`<ak-icon-emoji-activity />`|
|!["emoji/atlassian"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/emoji/atlassian.svg "emoji/atlassian")|`import 'ak-icon/glyph/emoji/atlassian';`|`<ak-icon-emoji-atlassian />`|
|!["emoji/custom"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/emoji/custom.svg "emoji/custom")|`import 'ak-icon/glyph/emoji/custom';`|`<ak-icon-emoji-custom />`|
|!["emoji/flags"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/emoji/flags.svg "emoji/flags")|`import 'ak-icon/glyph/emoji/flags';`|`<ak-icon-emoji-flags />`|
|!["emoji/food"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/emoji/food.svg "emoji/food")|`import 'ak-icon/glyph/emoji/food';`|`<ak-icon-emoji-food />`|
|!["emoji/frequent"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/emoji/frequent.svg "emoji/frequent")|`import 'ak-icon/glyph/emoji/frequent';`|`<ak-icon-emoji-frequent />`|
|!["emoji/nature"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/emoji/nature.svg "emoji/nature")|`import 'ak-icon/glyph/emoji/nature';`|`<ak-icon-emoji-nature />`|
|!["emoji/objects"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/emoji/objects.svg "emoji/objects")|`import 'ak-icon/glyph/emoji/objects';`|`<ak-icon-emoji-objects />`|
|!["emoji/people"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/emoji/people.svg "emoji/people")|`import 'ak-icon/glyph/emoji/people';`|`<ak-icon-emoji-people />`|
|!["emoji/symbols"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/emoji/symbols.svg "emoji/symbols")|`import 'ak-icon/glyph/emoji/symbols';`|`<ak-icon-emoji-symbols />`|
|!["emoji/travel"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/emoji/travel.svg "emoji/travel")|`import 'ak-icon/glyph/emoji/travel';`|`<ak-icon-emoji-travel />`|
|!["error"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/error.svg "error")|`import 'ak-icon/glyph/error';`|`<ak-icon-error />`|
|!["expand"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/expand.svg "expand")|`import 'ak-icon/glyph/expand';`|`<ak-icon-expand />`|
|!["feedback"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/feedback.svg "feedback")|`import 'ak-icon/glyph/feedback';`|`<ak-icon-feedback />`|
|!["help"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/help.svg "help")|`import 'ak-icon/glyph/help';`|`<ak-icon-help />`|
|!["home"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/home.svg "home")|`import 'ak-icon/glyph/home';`|`<ak-icon-home />`|
|!["jira/logo"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/jira/logo.svg "jira/logo")|`import 'ak-icon/glyph/jira/logo';`|`<ak-icon-jira-logo />`|
|!["location"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/location.svg "location")|`import 'ak-icon/glyph/location';`|`<ak-icon-location />`|
|!["moreoptions"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/moreoptions.svg "moreoptions")|`import 'ak-icon/glyph/moreoptions';`|`<ak-icon-moreoptions />`|
|!["projects"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/projects.svg "projects")|`import 'ak-icon/glyph/projects';`|`<ak-icon-projects />`|
|!["question"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/question.svg "question")|`import 'ak-icon/glyph/question';`|`<ak-icon-question />`|
|!["radio"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/radio.svg "radio")|`import 'ak-icon/glyph/radio';`|`<ak-icon-radio />`|
|!["search"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/search.svg "search")|`import 'ak-icon/glyph/search';`|`<ak-icon-search />`|
|!["settings"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/settings.svg "settings")|`import 'ak-icon/glyph/settings';`|`<ak-icon-settings />`|
|!["success"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/success.svg "success")|`import 'ak-icon/glyph/success';`|`<ak-icon-success />`|
|!["time"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/time.svg "time")|`import 'ak-icon/glyph/time';`|`<ak-icon-time />`|
|!["warning"](https://bytebucket.org/atlassian/atlaskit/raw/ba6ad353fa0ee70d3dd43667230560280f849fde/packages/ak-icon/src/icons/warning.svg "warning")|`import 'ak-icon/glyph/warning';`|`<ak-icon-warning />`|

## Classes

<dl>
<dt><a href="#Icon">Icon</a></dt>
<dd></dd>
</dl>

<a name="Icon"></a>

## Icon
**Kind**: global class  
* Properties

    *  [icon.label](#Icon+label) : <code>string</code>
    *  [icon.size](#Icon+size) : <code>[size](#size)</code>
    *  [icon.onClick](#Icon+onClick) : <code>function</code>

<a name="new_Icon_new"></a>

### new Icon()
Icon interface. All icons follow this structure.

<a name="Icon+label"></a>

### icon.label : <code>string</code>
(Required) The icon label
             This is a required attribute.
             Omitting it will make the icon inaccessible for screen readers, etc..
             The text passed will be sanitized, e.g. passed HTML will be represented
             as plain text.

**Kind**: instance property of <code>[Icon](#Icon)</code>  
<a name="Icon+size"></a>

### icon.size : <code>[size](#size)</code>
(Optional) An icon size.

Defaults to an empty string (which means it uses the default size).

**Kind**: instance property of <code>[Icon](#Icon)</code>  
**Default**: <code>small</code>  
<a name="Icon+onClick"></a>

### icon.onClick : <code>function</code>
(Optional) A handler to execute when the icon is clicked.

Defaults to a noop.

**Kind**: instance property of <code>[Icon](#Icon)</code>  
<a name="size"></a>

## size : <code>enum</code>
Icon size values.

**Kind**: global enum  
**Properties**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| small | <code>string</code> | <code>&quot;small&quot;</code> | small icon |
| medium | <code>string</code> | <code>&quot;medium&quot;</code> | medium icon |
| large | <code>string</code> | <code>&quot;large&quot;</code> | large icon |
| xlarge | <code>string</code> | <code>&quot;xlarge&quot;</code> | xlarge icon |

## Support and feedback

### We're here to help!

Let us know what you think of our components and docs, your feedback is really important for us.

### Community support

Ask a question in our [forum](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,ak-icon,ak-icon@14.0.0).

Check [if someone has already asked the same question before](https://answers.atlassian.com/questions/topics/42926171/atlaskit).


### Create a support ticket

Are you in trouble? [Let us know](https://ecosystem.atlassian.net/browse/AK)!

---
_Source: https://npm.io/package/ak-icon · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
