Custom Emoji Data

Emoji Button ships with English emoji data. If your site or app is in a different language, you probably want to use emoji data with translated emoji names. This can most easily be done by installing the package @roderickhsiao/emoji-button-locale-data, which contains emoji translations for many languages.

import { EmojiButton } from '@joeattardi/emoji-button';
import frEmojiData from '@roderickhsiao/emoji-button-locale-data/dist/fr';

const picker = new EmojiButton({
  emojiData: frEmojiData
});