Vue Component for Customizing Your SVG File

SVG Filler is a Vue component for changing the fill color and size of the SVG of your path.

vue js svg filler component example, vue js svg filler component not working, vue js svg filler component with image, vue js svg filler component not showing, vue js svg

How to make use of it:

Install & Download:

# NPM
$ npm install vue-svg-filler --save

Usage

import SvgFiller from 'vue-svg-filler'

Vue.component('svg-filler', SvgFiller)
<svg-filler path="static/PATH/OF/YOUR/FILE.svg"/>

Options

Props

PropsTypeDefaultDescription
pathStringPath of your svg file in /static
widthString24pxWidth
heightString24pxHeight
fillString#000Fill color
hover-colorStringFill color when hover icon
strokeStringnoneStroke color
hover-stroke-colorStringStroke color when hover icon

Events

NameTypeDefaultDescription
clickFunctionTriggers when click
[any].nativeevent: $eventListen to any native event, e.g. mouseover.native

Vue.js SVG Filler Component, Vue SVG Filler Plugin/Github


See Demo And Download

Official Website(biigpongsatorn): Click Here

This superior jQuery/javascript plugin is developed by biigpongsatorn. For extra advanced usage, please go to the official website.

Related Posts

Confetti-Falling-Animation-Effect-party

Confetti Falling Animation Effect In JavaScript | party.js

Party.js is a JavaScript library to brighten user site experience with visual effects! Celebrate success with dom confetti! The library is written in TypeScript and compiled into…

jquery-cookie-consent

Simple jQuery Cookie Consent Plugin

jquery.cookie-consent is a simple jQuery plugin to request consent to use cookies. An easy-to-use and highly customizable cookie consent bar that informs your visitors of the use…

Timepicker-Plugin-for-jQuery

Timepicker JavaScript Plugin for jQuery Inspired by Google Calendar

jquery.timepicker is a lightweight jQuery timer plugin inspired by Google Calendar. It supports both mouse and keyboard navigation and weighs 5.5KB minified and compact. Features: Highly customizable…

angular-ngx-carousel-slider

A Lightweight, Touchable, and Responsive Angular Universal Carousel Library

ngxCarousel is a lightweight, tactile, and responsive library for creating an angular carousel. No dependencies, no more hammer. Must Read: Angular Responsive Image Slider With Lightbox Popup…

vue-fullpage-modal

First Mobile Full-screen Modal Popup Library For Vue

Vue full-page modal is a responsive, mobile-compatible, screen-friendly pop-up library for Vue.js. Must Read: Modal Component Is Written in Vanilla JS | ensemble Modal How to make…

random-number-picker

Generate a Random Number Picker In Vanilla JavaScript

Random Number Picker is a Vanilla JS-based number picker that allows you to generate a random number within a specified range. Must Read: Generating Lottery Numbers Using…