codecalm a96c47ce4b Release 2.4.0 1 year ago
..
src ada7b9b2aa Merge branch 'dev' of https://github.com/tabler/tabler-icons 1 year ago
.babelrc 1978ac750d Add unit tests for icons (#503) 1 year ago
README.md de7e9b4eb8 Update README.md 1 year ago
build.mjs 510f416376 support for Modularized Imports (#468) 1 year ago
package.json a96c47ce4b Release 2.4.0 1 year ago
rollup.config.mjs 8b5735f21b Version 2.0! (#439) 1 year ago
test.spec.js 1978ac750d Add unit tests for icons (#503) 1 year ago

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 :)

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>
  <IconHome />
</template>

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

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

You can pass additional props to adjust the icon.

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

Props

name type default
size Number 24
color String currentColor
stroke 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