10.79.1 • Public • Published


Vue components for icons in digital and software products using the Carbon Design System

Getting started

To install @carbon/icons-vue in your project, you will need to run the following command using npm:

npm install -S @carbon/icons-vue

If you prefer Yarn, use the following command instead:

yarn add @carbon/icons-vue


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 install these components from @carbon/icons-vue through two ways. The first is to install them when you're initializing your Vue app. For example:

import { CarbonIconsVue } from '@carbon/icons-vue';
import Bee32 from '@carbon/icons-vue/es/bee/32';
import Vue from 'vue';
import App from './App.vue';

Vue.use(CarbonIconsVue, {
  components: {

new Vue({
  render: (h) => h(App),

Note: if you would like to find the import path for an icon, you can reference our icon preview

Using CarbonIconsVue we can pass in any of the icon components that we'd like to use. In our application, we can then use them by doing:

  <Bee32 />

If you would rather not register icons globally, you can also import them into individual components.

import Bee32 from '@carbon/icons-vue/es/bee/32';

export default {
  name: 'MyComponent',
  component: {

You can pass in props to any icon component for things like accessibility labels, custom classes, event handlers, and more. For example:

  <Bee32 aria-label="Bee" class="custom-class" v-on:click="handler" />

📚 Examples

If you're looking for more examples on how to use @carbon/icons-vue, we have some examples that you can check out:

🙌 Contributing

We're always looking for contributors to help us fix bugs, build new features, or help us improve the project documentation. If you're interested, definitely check out our Contributing Guide! 👀

📝 License

Licensed under the Apache 2.0 License.

Package Sidebar


npm i @carbon/icons-vue

Weekly Downloads






Unpacked Size

26 MB

Total Files


Last publish


  • guidari
  • flucca
  • dmenend
  • jdharvey
  • carbon-design-system
  • carbon-bot
  • tjegan
  • alisonjoseph
  • leechase
  • jeffreychew
  • simonfinney
  • sstrubberg
  • andreancardona
  • tay1orjones