Press "Enter" to skip to content

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.

Be First to Comment

    Leave a Reply

    Your email address will not be published.