Installations
npm install vue-tabler-icons
Developer Guide
Typescript
Yes
Module System
CommonJS
Node Version
14.21.3
NPM Version
6.14.18
Releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (41.81%)
Vue (40.04%)
Shell (11.18%)
HTML (3.79%)
TypeScript (3.18%)
Developer
alex-oleshkevich
Download Statistics
Total Downloads
551,442
Last Day
1,239
Last Week
4,759
Last Month
19,799
Last Year
272,142
GitHub Statistics
150 Stars
125 Commits
12 Forks
3 Watching
3 Branches
6 Contributors
Bundle Size
4.64 MB
Minified
340.09 kB
Minified + Gzipped
Package Meta Information
Latest Version
2.21.0
Package Id
vue-tabler-icons@2.21.0
Unpacked Size
37.01 MB
Size
2.29 MB
File Count
4,223
NPM Version
6.14.18
Node Version
14.21.3
Publised On
26 May 2023
Total Downloads
Cumulative downloads
Total Downloads
551,442
Last day
14.6%
1,239
Compared to previous day
Last week
-11.4%
4,759
Compared to previous week
Last month
9.8%
19,799
Compared to previous month
Last year
49.9%
272,142
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Tabler Icons as Vue 3 components
Preview
Preview icons
</p>
Features
- Over 1250 pixel-perfect icons
- TypeScript definitions
- Vue 3 support
- Vue 2 support (see v1.x)
- All icons are compiled to JS, no preprocessing required
Installation
Installation for Vue 3
1yarn add vue-tabler-icons 2 3# or 4 5npm i vue-tabler-icons
Installation for Vue 2
Version 2.x is Vue 3 only, if you use Vue 2 then install any 1.x version
1yarn add vue-tabler-icons@^1.0
v1.x is no longer a priority so updates may be delayed or discontinued.
Usage
1<script> 2 // MyComponent.vue 3 import { BoldIcon } from "vue-tabler-icons"; 4 5 export default { 6 components: { BoldIcon }, 7 }; 8</script> 9 10<template> 11 <bold-icon /> 12</template>
Using Vue plugin
You may install a Vue plugin that automatically adds all components to the Vue instance.
Note: this usage is not recommended as it cannot be tree-shaken.
1import Vue from "vue"; 2import VueTablerIcons from "vue-tabler-icons"; 3 4Vue.use(VueTablerIcons);
Now you can use icons without importing them:
1<template> 2 <trash-icon /> 3</template>
Using CDN
If you prefer CDN, then use this URL https://unpkg.com/vue-tabler-icons/dist/vue-tabler-icons.umd.js
The library doesn't automatically registers itself so you need to do it manually:
1<script> 2 Vue.use(VueTablerIcons); 3</script>
Naming pattern
Component names use the same names as defined in the original library with some rules applied:
- they are in PascalCase
- underscores before numbers are removed
Icon
added to the end of the name
For example:
arrows-diagonal-2
will become ArrowsDiagonal2Icon
.
Replacements
Following icon names are replaced to match JavaScript variable name pattern:
Original | New |
---|---|
2fa.svg | TwoFactorAuthIcon |
3d-cube-sphere.svg | ThreedCubeSphereIcon |
3d-cube-sphere-off.svg | ThreedCubeSphereIconOff |
3d-rotate.svg | ThreedRotateIcon |
123.svg | OneTwoThreeRotateIcon |
360-view.svg | Deg360ViewIcon |
360.svg | Deg360Icon |
Icon size
All components define size
property that you can use to control the icon's size:
1<bold-icon size="48" />
Will render 48x48 icon.
All other attributes are directly bound to the underlying SVG image.
Attributes height
and width
have higher precedence over size
property.
Icon color
All icons use currentColor
as their color. You can colorize your icons as you do that for text.
1<bold-icon style="color: red" /> <bold-icon class="text-red" />
Stroke width and other SVG attributes
Any custom attribute that set on the component will be applied directly to the SVG asset.
For example, if you want to set stroke-width
attribute just set it as usually:
1<bold-icon stroke-width="1" />
Building locally
Clone repo:
1git clone https://github.com/alex-oleshkevich/vue-feather-icons.git
Install deps:
1yarn install
Run build
1yarn build
Icon component will be in icons
directory.
Credits
- Tabler Icons for icon pack
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 2/16 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/release.yml:1
- Warn: no topLevel permission defined: .github/workflows/test.yml:1
- Info: no jobLevel write permissions found
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/alex-oleshkevich/vue-tabler-icons/release.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/alex-oleshkevich/vue-tabler-icons/release.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/alex-oleshkevich/vue-tabler-icons/release.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/alex-oleshkevich/vue-tabler-icons/release.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/alex-oleshkevich/vue-tabler-icons/test.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/alex-oleshkevich/vue-tabler-icons/test.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/alex-oleshkevich/vue-tabler-icons/test.yml/master?enable=pin
- Info: 0 out of 7 GitHub-owned GitHubAction dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
- Warn: branch protection not enabled for branch 'v1.x'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 22 are checked with a SAST tool
Reason
14 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55
- Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j
- Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-353f-5xf4-qw67
- Warn: Project is vulnerable to: GHSA-c24v-8rfc-w8vw
- Warn: Project is vulnerable to: GHSA-8jhw-289h-jh2g
- Warn: Project is vulnerable to: GHSA-64vr-g452-qvp3
- Warn: Project is vulnerable to: GHSA-9cwx-2883-4wfx
- Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr
- Warn: Project is vulnerable to: GHSA-566m-qj78-rww5
Score
2.6
/10
Last Scanned on 2025-02-03
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreOther packages similar to vue-tabler-icons
@vicons/tabler
Vue3 SVG icon components integrated from [`tabler`](https://github.com/tabler/tabler-icons)
@tabler/icons-vue
A set of free MIT-licensed high-quality SVG icons for you to use in your web projects.
@iconify-prerendered/vue-tabler
Tabler Icons components for Vue. Designed for ease of use and high performance
@kalimahapps/vue-icons
60,000+ SVG icons of popular icon sets that you can add seamlessly to vue projects