fontAwesomePicker
A Vue.js component to easily pick a FontAwesome icon and use it as you wish.
Table of contents
Installation
npm install --save font-awesome-picker
Usage
Make sure you are already using FontAwesome > 5 with SVG with JavaScript(https://fontawesome.com/get-started) option.
Install the component:
;; name: 'yourComponent' components: 'font-awesome-picker': fontAwesomePicker
Instance as a custom element:
If you're not using Webpack, import style:
Options
Searchbox
To change the search box placeholder:
Result
To get the result from the fontAwesomePicker
methods: { console }
It will emit an object as a result:
className: 'fa-home' cssValue: 'F015'
Support
To support version 4 or less of FontAwesome, please use version 1.1.6
npm install --save font-awesome-picker@1.1.6