1.0.0-rc2 • Published 3 years ago
@lukasjoc/vueiconpicker v1.0.0-rc2
vueiconpicker
A Vue 2 renderless icon picker.
Basic Usage:
<template>
<div id="app">
<picker-default :icon-set="icons" />
</div>
</template>
<script>
import PickerDefault from "@/components/PickerDefault";
export default {
name: "App",
components: {
PickerDefault,
},
data() {
return {
icons: [
"server-icons-3705.png",
"repair-workshop-icon-png-2892.png",
"computer-user-icon-16385.png",
"computer-user-icon-16383.png",
"restore-icon-12292.png",
"computer-icon-1049.png",
"computer-icon-1040.png",
"computer-icon-1046.png",
"storage-icon-6639.png",
"logistic-icon-png-12711.png",
"beaver-47723.png",
"book-icon-152.png",
],
};
},
};
</script>
<style lang="scss">
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
margin-top: 60px;
}
</style>
lukasjoc, 2020
1.0.0-rc2
3 years ago