get a subset of twemojis
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
node_modules
svg
README.md
emoji-annotation-to-unicode.js
emoji-name-category.js
my-script.js
package.json

README.md

Get a subset of twemojis by categories

From my blog post: Twemojis for React & Mapbox gl

Due to Mapbox Studio's 500 sprite upload limit, I had to choose a subset of twemojis to upload to Mapbox Studio and to use with react-emoji-picker in our app.

Usage

To get the emojis from the people and objects category that are used in react-emoji-picker: Or uncomment emojis you want in emoji-name-category.js and comment out those you don't want.

npm i
node my-script.js

Selected svg emojis are copied to the out folder.