emoji-picker-vue
emoji-picker-vue
demo

In node
npm install emoji-picker-vue | yarn add emoji-picker-vue
import Vue from 'vue';
import emojiPicker from 'emoji-picker-vue';
import 'emoji-picker-vue/dist/index.css';
In browser
<head>
<link rel="stylesheet" href="dist/browser/emoji-picker-vue.min.css"/>
</head>
<body>
<script src="vue.min.js"></script>
<script src="dist/browser/emoji-picker-vue.min.js"></script>
</body>
config
| Prop | Type | Default | Description |
|---|---|---|---|
| target | HTMLDivElement | @required | container in which emoji is put |
| show | Boolean | @required | control the display of emoji |
| config | Object | @optional | config the style of emoji |
| config.width | String | 288px | width of emoji |
| config.height | String | 180px | height of emoji |
custom
-
custom your own emoji or add more emoji, you should edit
src/components/codepoints.js, then runnpm run release, finally, newindex.jswill be generated indist/, emoji codepoint can be found in unicode.org/emoji -
custom theme, you should edit
src/components/emojiPicker/index.styl, then runnpm run release, finally, newindex.csswill be generated indist/
Related Packages
vue3-twemoji-picker-final
9,605
28
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.1 | ^2.6.10 | MIT | |
| 1.0.0 | ^2.6.10 | MIT |