1.1.0 • Published 3 years ago

eos-icons-vue2 v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

eos-icons-Vue 2

Open Source Love svg2 NPM Package NPM Downloads

Using eos-icons-react in your projects

Refer to EOS Icons for more details about all the icons that are supported by EOS-Icons Vue 2

Storybook EOS-Icons, checkout storybook for an in-depth look at the various different icons that are provided by EOS-Icons Vue 2 as well the props available for configuring icons.

Nuxt Sandbox, checkout this Nuxt sandbox for testing out the icons as well as 'How to use it'

Installation

# yarn
yarn add eos-icons-vue2
# npm
npm install eos-icons-vue2

Usage

common icons usage

<template>
  <div>
    <EOS_10K_FILLED />
    <EOS_10K_OUTLINED />
    <EOS_LOADING_ANIMATED />
  </div>
</template>

<script>
import { EOS_10K_FILLED, EOS_10K_OUTLINED, EOS_LOADING_ANIMATED } from "eos-icons-vue2";

export default {
  name: "App",
  components: {
    EOS_10K_FILLED,
    EOS_10K_OUTLINED,
    EOS_LOADING_ANIMATED
  },
};
</script>

Props

Prop usage

<template>
  <div>
    <EOS_10K_FILLED size="xl" color="cyan" rotate="120" verticalFlip="true" horizontalFlip="true"/>
  </div>
</template>

<script>
import { EOS_10K_FILLED } from "eos-icons-vue2";

export default {
  name: "App",
  components: {
    EOS_10K_FILLED
  },
};
</script>

Prop Details

NameTypeDefaultDescription
sizestring'm'sets the size of icon *
colorstring'#000000sets the color of icon
rotatestring'0'sets the rotation degree of icon
horizontalFlipbooleanfalseFlips icon horizontally
verticalFlipbooleanfalseFlips icon vertically

(*) Size can be provided using either string or number. Pre-Defined size list

Size NameSize Value
xs4
s8
base14
m18
l24
xl32
xxl48
xxxl64

(**) The theme prop is only available for common icon component. Eos-Icons React has 4 different types of icon components (common / filled / outlined / animated). The common icon component contains both filled and outlined version of the icon. For switching between the two types of version you can either supply 'outlined' or 'filled' to the theme prop.

Development of EOS icons React

  • Cloning the repo:
git clone https://github.com/EOS-uiux-Solutions/eos-icons-vue2
  • run for installing all the required dependencies.
npm install

Package build command

  • run for producing the final build files.
npm run generate

Learn more about the EOS Design System

Our "thank you" section

Tested for every browser in every device

Thanks to Browserstack and their continuous contribution to open source projects, we continuously test the EOS to make sure all our features and components work perfectly fine in all browsers. Browserstack helps us make sure our Design System also delivers a peace of mind to all developers and designers making use of our components and layout in their products.