@carlos-burelo/v-icons
v1.0.2
Published
![banner](/assets/banner.jpg)
Downloads
3
Readme
V-Icons
Qoatl Icons is a library in a cdn that proposes icons in svg format as reusable web components that through an attribute the tag returns an icon (only if it is available)
Installation
If you want to use Qoatl icons be sure to use the following script inside the <head>
tag in your html file
<script src="https://unpkg.com/[email protected]/dist/v-icons.es.js"></script>
Basic usage
Once the script is added in the <head>
tag it is as easy as adding the <v-icon </v-icon>
tag where you need it
<v-icon name="typescript"></v-icon>
Editing...
Being a web component, it is as simple as editing it using css as if it were a source, like the following examples.
v-icon {
color: red;
font-size: 20px;
...;
}
You can also specify the icon via its name
attribute. example:
[name="google"] {
color: red;
font-size: 20px;
...;
}
Soon a documentation / home page will be published to preview the icons in a better way and facilitate the use of the library. :D
Soon new functions are being incorporated to work with the icons and give them a bit of dynamism and style, in addition to adding more icons to the package to expand the library, currently the cnd is not available, but as soon as it considers that the project is stable it will be published the first version.