1.0.45 • Published 12 months ago

@devheniik/icons v1.0.45

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Vue

Note that this library currently only supports Vue 3.

First, install @devheniik/icons from npm:

npm install @devheniik/icons

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

<template>
  <div>
    <BeakerIcon class="h-6 w-6 text-blue-500"/>
    <p>...</p>
  </div>
</template>

<script>
import { BeakerIcon } from '@devheniik/icons'

export default {
  components: { BeakerIcon }
}
</script>

Or you can import all icons at once:

import {createApp} from 'vue'
import './style.css'
import App from './App.vue'


import * as icons from '@devheniik/icons'

const app = createApp(App)


Object.entries(icons).forEach(([componentName, component]) => {
    if (componentName !== 'default') {
        app.component(String(componentName), component)
    }
})


app.mount('#app') 

The 24x24 outline icons can be imported from @devheniik/icons

Icons use an upper camel case naming convention and are always suffixed with the word Icon.

1.0.44

12 months ago

1.0.43

1 year ago

1.0.45

12 months ago

1.0.39

1 year ago

1.0.40

1 year ago

1.0.41

1 year ago

1.0.38

1 year ago

1.0.37

1 year ago

1.0.36

1 year ago

1.0.35

1 year ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.9

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.26

2 years ago

1.0.11

2 years ago

1.0.32

2 years ago

1.0.10

2 years ago

1.0.31

2 years ago

1.0.30

2 years ago

1.0.12

2 years ago

1.0.8

2 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.11

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago