vuetify-icon-picker

1.0.14 • Public • Published

Vuetify Icon Picker

This is an vuetify component used to pick material design icons.

Preface

Are you once troubled by no icon-picker component when using framework vuetify?

If yes here is one possible solution!

Getting Started

Installing

npm i vuetify-icon-picker

Using

In an common 2.x vuetify project (and mdi has been imported by way html cdn-link or npm i @mdi/font), you can use this component as following:

<template>
  <icon-picker v-model="selected" />
</template>

<script>
import IconPicker from "./components/IconPicker.vue";

export default {
  components: {
    IconPicker
  },
  data: () => ({
    selected: ""
  })
};
</script>

You can find more detailed example in this REPO

Component API

Props

Name Type Default Description
contentHeight number 300 used to specify one certain height of the container of icons
value string undefined the chosen icon, looks like mdi-home-outline

Events

Name Description
input together with prop value, to cater to v-model directive

Package Sidebar

Install

npm i vuetify-icon-picker

Weekly Downloads

25

Version

1.0.14

License

MIT

Unpacked Size

14.6 kB

Total Files

10

Last publish

Collaborators

  • taoqingqiu