tabler-icons/packages/icons-vue
codecalm 0094572ac2 Release 3.36.1 2026-01-01 21:03:15 +01:00
..
src fix: Fixing default values for `size` and `stroke` attributes (#1145) 2024-09-27 22:10:33 +02:00
.gitignore Generate icons list for build (#1050) 2024-03-14 00:35:33 +01:00
README.md Update sponsors' image for packages 2025-01-27 18:16:31 +01:00
build.mjs Improve build speed (#1382) 2025-07-21 01:43:11 +02:00
package.json Release 3.36.1 2026-01-01 21:03:15 +01:00
rollup.config.mjs Improve build speed (#1382) 2025-07-21 01:43:11 +02:00
setupVitest.js Tabler Icons 3.0 (#993) 2024-02-27 00:16:23 +00:00
test.spec.js build fix 2025-01-06 03:31:01 +01:00
tsconfig.json Tabler Icons 3.0 (#993) 2024-02-27 00:16:23 +00:00
vitest.config.mts Tabler Icons 3.0 (#993) 2024-02-27 00:16:23 +00:00

README.md

Tabler Icons for Vue

Tabler Icons

Implementation of the Tabler Icons library for Vue 3 applications.

Browse all icons at tabler-icons.io →

Latest Release License

Sponsors

If you want to support my project and help me grow it, you can become a sponsor on GitHub or just donate on PayPal :)

Tabler sponsors

Installation

yarn add @tabler/icons-vue

or

npm install @tabler/icons-vue

or

pnpm install @tabler/icons-vue

or just download from Github.

How to use

All icons are Vue components that contain SVG elements. So any icon can be imported and used as a component. It also helps to use threeshaking, so you only import the icons you use.

<template>
  <!-- basic usage -->
  <IconHome />

  <!-- set `stroke` color -->
  <IconHome color="red"/>
  <IconHome stroke="red"/>

  <!-- set custom `width` and `height` -->
  <IconHome size="36"/>

  <!-- set `stroke-width` -->
  <IconHome strokeWidth="2"/>
  <IconHome stroke-width="2"/>
</template>

<script>
// Returns Vue component
import { IconHome } from '@tabler/icons-vue';

export default {
  components: { IconHome }
};
</script>

or with <script setup>

<script setup>
// Import Vue component
import { IconHome } from '@tabler/icons-vue';
</script>

<template>
  <IconHome color="red" size="36" strokeWidth="2"/>
</template>

You can pass additional attribute stroke-width="1" alongside the props to adjust the icon.

<IconHome color="red" size="48" stroke-width="1" />

Props

name type default
size Number 24
color String currentColor
strokeWidth Number 2

Contributing

For more info on how to contribute please see the contribution guidelines.

Caught a mistake or want to contribute to the documentation? Edit this page on Github

License

Tabler Icons is licensed under the MIT License.

Sponsor Tabler

Sponsor Tabler