1.0.13 • Published 3 months ago

ods-icon v1.0.13

Weekly downloads
-
License
ISC
Repository
-
Last release
3 months 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.13

3 months ago

1.0.12

8 months ago

1.0.11

8 months ago

1.0.10

8 months ago

1.0.91

8 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago