Svg Icons for VueJS

Svg Icons for VueJS

v-svg-icons Svg icons for VueJS.

v-svg-icons

Svg icons for VueJS. Türkçe README dosyası için tıklayın!

Getting Started

These instructions will get you a copy of the component up and running on your local machine.

Installing

You can install v-svg-icons component by npm

npm i v-svg-icons

After download, v-svg-icons will be ready to use in your vue.js applications

Usage

  • Export the V-svg-icons component to the main.js file
import icons from "v-svg-icons";
  • Register v-svg-icons component with any name you want
Vue.component("icon", icons);

After this step, it can be used by all registered components in your project by tag name.

  • To use icons, you must specify the name of the icon you want with the name parameter inside the tag.
<icon name="arrow-up">
  • You can specify the width and height values as in the example. The default width and height values for all icons are 50px.
<icon name="arrow-up" width="80px" height="80px" />
  • You can use the "color" parameter to change the color of the icons.
<icon name="arrow-up" color="black" />
<icon name="arrow-up" color="#000" />
<icon name="arrow-up" color="rgba(0, 0, 0, .2)" />
  • You can use the name of the icon as the class name for additional styling operations.
<icon name="arrow-up" />
<style>
    .arrow-up{
        fill: green;
        background: red;
        width: 150px;
        height: 150px;
    }
</style>

You can apply all the changes that can be made for svg as in the example.

Versioning

We use GitHub for versioning.

Authors

License

Licensed under the MIT license, see LICENSE for details.

Download Details:

Author: mehmetsagir

Demo: https://mehmetsagir.github.io/v-svg-icons/

Source Code: https://github.com/mehmetsagir/v-svg-icons

vue vuejs javascript

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

8 Popular Websites That Use The Vue.JS Framework

In this article, we are going to list out the most popular websites using Vue JS as their frontend framework. Vue JS is one of those elite progressive JavaScript frameworks that has huge demand in the web development industry. Many popular websites are developed using Vue in their frontend development because of its imperative features.

Vue Native is a framework to build cross platform native mobile apps using JavaScript

Vue Native is a framework to build cross platform native mobile apps using JavaScript. It is a wrapper around the APIs of React Native. So, with Vue Native, you can do everything that you can do with React Native. With Vue Native, you get

How to Make a Simple Vue Custom Select Component

In this article, you’ll learn how to build a Vue custom select component that can be easily be styled using your own CSS. In fact, it’s the same component that we use in production on Qvault, and you can see it in action on the playground.

Creating a Custom Tooltip Component in Vue

There are plenty of libraries out there that will have you up and running with a good tooltip solution in minutes. However, if you are like me, you are sick and tired of giant dependency trees that have the distinct possibility of breaking at any time.

Vue ShortKey plugin for Vue.js

Vue-ShortKey - The ultimate shortcut plugin to improve the UX .Vue-ShortKey - plugin for VueJS 2.x accepts shortcuts globaly and in a single listener.