1.0.18 • Published 2 years ago

ods-icon v1.0.18

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

React

First, install ods-icon from npm:

npm install ods-icon

Now each icon can be imported individually as a React component:

import { AcademicCapIcon } from 'ods-icon/react/24/outline'

function MyComponent() {
  return (
    <div>
      <AcademicCapIcon className="colorPrimary" />
      <p>...</p>
    </div>
  )
}

You can import the 24x24 outline icons from ods-icon/react/24/outline, and the 24x24 solid icons from ods-icon/react/24/solid.

The icons follow an upper camel case naming convention and always have the word Icon as a suffix.

Vue

First, install ods-icon from npm:

npm install ods-icon

Each icon can be imported individually as a Vue component:

<template>
  <div>
    <AcademicCapIcon class="colorPrimary" />
    <p>...</p>
  </div>
</template>

<script setup>
import { AcademicCapIcon } from '@ods-icon/vue/24/solid'
</script>

You can import the 24x24 outline icons from ods-icon/vue/24/outline, and the 24x24 solid icons from ods-icon/vue/24/solid.

The icons follow an upper camel case naming convention and always have the word Icon as a suffix.

License

This library is MIT licensed.

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.91

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago