grxvityhj / iconsax

🎲 Iconsax cheat sheet | toy project

Home Page:https://grxvityhj.github.io/iconsax/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Iconsax Cheat Sheet

:https://grxvityhj.github.io/iconsax

Another great cheat sheet made by other creator, glenthemes, can be found here:
https://glenthemes.tumblr.com/icons/iconsax

Iconsax

Iconsax is an open-source library made by Vuesax, containing 1000 icons with 6 different styles. Check out https://iconsax.io/ for more details and icons for other platforms.

Getting started

Include the script inside the <head>.

<script src="https://grxvityhj.github.io/iconsax/script.js"></script>

(Codes are all written in vanillaJS so no need for jQuery.)

Usage

Head to cheat sheet page to retrieve icons by name, and paste your code by the following rules below:

<i class="iconsax" type="linear" stroke-width="1.5" icon="(icon name)"></i>

For brand or company logos, additional class brand is required.

<i class="iconsax brand" type="linear" stroke-width="1.5" icon="instagram"></i>

Usage: Simplify

Attributes can be omitted for linear type with 1.5 of stroke-width.

<i class="iconsax" icon="(icon name)"></i>

Example for linear type with stroke-width 2:

<i class="iconsax" stroke-width="2" icon="(icon name)"></i>

Attributes

Attributes Type Required Default
type string no linear
stroke-width string no 1.5
icon string yes (its icon name)

πŸ‘‰ stroke and fill is set to currentColor by default.
πŸ‘‰ No styles are applied.

Disclaimer

I do not own any of the icons. All rights belong to Vuesax.

This project fully supports linear and bold style only.

License

MIT License

About

🎲 Iconsax cheat sheet | toy project

https://grxvityhj.github.io/iconsax/

License:MIT License


Languages

Language:HTML 97.5%Language:JavaScript 1.3%Language:CSS 1.2%