Iconsans is a collection of over 660 free icons designed for use in your next project. This package offers separate versions for Vue and React, making it easy for developers and designers to access a wide range of icons that can be used in a variety of applications.
To use iconsans in your Vue project:
npm install @iconsans/vue
To use iconsans in your React project:
npm install @iconsans/react
After installing iconsans, you can use it in your project by importing the icons you need. For example, if you want to use the "play" icon in your Vue project, you can import it like this:
<script setup lang="ts">
import { Play as PlayBold } from "@iconsans/vue/bold";
import { Play as PlayLinear } from "@iconsans/vue/linear";
</script>
<template>
<PlayBold />
<PlayLinear />
</template>
In React, you can import the same icon like this:
import { Play as PlayBold } from "@iconsans/react/bold";
import { Play as PlayLinear } from "@iconsans/react/linear";
export default function App() {
return (
<>
<PlayBold />
<PlayLinear />
</>
);
}
Name | Type |
---|---|
Width? | Number, String |
Height? | Number, String |
Color? | String |
Thank you for your interest in helping! Visit our guide on contributing to get started.
The icons in iconsans were designed using Figma, and you can find the design file in the following link:
🔗 https://www.figma.com/community/file/1228322259720738019
You can use this design file to view the icons, modify them, or create your own custom icons based on the iconsans design.
iconsans is licensed under the MIT license, which means you are free to use it in your projects, both commercial and non-commercial. However, we do ask that you provide attribution to the iconsans project in your documentation and/or about page.