Gathering detailed insights and metrics for @dvuckovic/vue3-bootstrap-icons
Gathering detailed insights and metrics for @dvuckovic/vue3-bootstrap-icons
Gathering detailed insights and metrics for @dvuckovic/vue3-bootstrap-icons
Gathering detailed insights and metrics for @dvuckovic/vue3-bootstrap-icons
A Vue.js component for rendering Bootstrap Icons via the SVG sprite method.
npm install @dvuckovic/vue3-bootstrap-icons
Typescript
Module System
Vue (60.22%)
TypeScript (37.55%)
HTML (1.49%)
JavaScript (0.73%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
7 Stars
47 Commits
2 Watchers
2 Branches
1 Contributors
Updated on May 23, 2025
Latest Version
2.0.0
Package Id
@dvuckovic/vue3-bootstrap-icons@2.0.0
Unpacked Size
11.03 kB
Size
4.17 kB
File Count
14
Published on
Apr 07, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
A Vue.js component for rendering Bootstrap Icons via the SVG sprite method.
1yarn add @dvuckovic/vue3-bootstrap-icons bootstrap-icons
Global component registration and injecting sprites:
1import { createApp } from 'vue' 2import App from './App.vue' 3import { BootstrapIcon } from '@dvuckovic/vue3-bootstrap-icons' 4import { injectBootstrapIcons } from '@dvuckovic/vue3-bootstrap-icons/utils' 5import BootstrapIcons from 'bootstrap-icons/bootstrap-icons.svg?raw' 6import '@dvuckovic/vue3-bootstrap-icons/dist/style.css' 7 8injectBootstrapIcons(BootstrapIcons) 9 10const app = createApp(App) 11 12app.component('BootstrapIcon', BootstrapIcon) 13 14app.mount('#app')
Usage in template:
1<BootstrapIcon 2 icon="exclamation-circle-fill" 3 size="2x" 4 flip-v />
Note that the SVG sprite asset must be available via the same server where the page is hosted, in order for the inlining to work in all browsers (a security limitation).
icon
The name of the icon, for a full list of supported icons please see the official documentation.
variant
The color of the icon, supports standard Bootstrap variants:
success
warning
danger
info
primary
secondary
dark
light
In addition to this, the component can inherit the current CSS color style, simply set it for the root element:
1.bi { 2 color: fuchsia; 3}
size
The size of the icon, supports following values:
sm
md
lg
2x
3x
4x
5x
In addition to this, the component can inherit the current CSS font size style, simply set it for the root element:
1.bi { 2 font-size: 2.5rem; 3}
flip-h
& flip-v
Flip the component on the horizontal or vertical axis. The two props can be combined, i.e.:
1<BootstrapIcon 2 icon="bar-chart-fill" 3 flip-h 4 flip-v />
rotate
The rotation of the icon, a number between -360
and 360
.
animation
The animation style of the icon, supports following values:
cylon
cylon-vertical
fade
spin
spin-reverse
spin-pulse
spin-reverse-pulse
throb
All animations are infinite (loops).
1yarn test
1yarn dev
1yarn build
1yarn preview
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/21 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
18 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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 More