@svgmoji/openmoji
The svgmoji sprites for the openmoji
library.

Installation
yarn add @svgmoji/openmoji
pnpm add @svgmoji/openmoji
npm install @svgmoji/openmoji
Usage
The following code creates an image with a src applied from the cdn. The first it is used it loads the sprite of all the emojis.
import { Openmoji } from '@svgmoji/openmoji';
import data from 'svgmoji/emoji.json';
const openmoji = new Openmoji({ data, type: 'all' });
const image = document.createElement('img');
image.src = openmoji.getUrl('❤️');
document.body.append(image);
All emojis designed by OpenMoji – the open-source emoji and icon project. License: CC BY-SA 4.0.