Skip to content

Skin Tones

👋 👍 👏

Set a default skin tone on the provider or per-instance. Values range from 1 (default yellow) to 6.

import emojiMartData from '@emoji-mart/data';
import { fromEmojiMart } from 'react-emoji-text/adapters/emoji-mart';
const data = fromEmojiMart(emojiMartData);
<EmojiProvider data={data} defaultSkin={3}>
<EmojiText>:wave:</EmojiText> {/* renders 👋🏼 */}
</EmojiProvider>

Append :skin-tone-N: to a shortcode to override the skin tone for that emoji:

<EmojiText>:wave::skin-tone-5:</EmojiText> {/* renders 👋🏾 */}

The skin tone suffix is consumed as part of the match — it won’t appear in the rendered output.

Unicode skin tone modifiers embedded in the source text are always preserved. If the input already contains a skin-toned emoji like 👋🏾, the library detects and keeps the original modifier regardless of the defaultSkin setting.