Skip to content

Emoji Picker

Pro

Search, browse, and pick an emoji. It has skin tones, a preview of the emoji under the pointer, 28 languages, and loading, empty, and error states.

  • Base UI
  • React 19
  • Tailwind CSS 4

Added Nov 9, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

Emoji Picker needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
25
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

onEmojiSelect gets an Emoji object: emoji is the character and label is its name. In a Popover, set variant="plain", so the Popover is the only surface.

reaction-picker.tsx

EmojiPicker

<div>
PropTypeDefaultDescription
onEmojiSelect—A callback invoked when an emoji is selected.
locale"bn""da""de""en""en-gb""es""es-mx""et""fi""fr""hi""hu""it""ja""ko""lt""ms""nb""nl""pl""pt""ru""sv""th""uk""vi""zh""zh-hant"string"en"The locale of the emoji picker. Custom locales can be used with resolveEmojiData.
resolveEmojiDataEmojiDataResolverdefaultEmojiDataResolverReturns emoji data for the current locale, synchronously or asynchronously. Custom data is used as-is, without version or country-flag filtering. Delegate to defaultEmojiDataResolver to use Emojibase data. Runs on mount and when locale, emojiVersion, or emojibaseUrl changes. Changing the function alone doesn't reload data.
skinTone"dark""light""medium""medium-dark""medium-light""none""none"The skin tone of the emoji picker.
columnsnumber10The number of columns in the list.
emojiVersionnumberThe most recent version supported by the current browserWhich Emoji version (https://emojipedia.org/emoji-versions) to use, to manually control which emojis are visible regardless of the current browser's supported Emoji versions.
emojibaseUrlstring"https://cdn.jsdelivr.net/npm/emojibase-data"The base URL of where the Emojibase data (https://emojibase.dev/docs/datasets/) should be fetched from, used as follows: ${emojibaseUrl}/${locale}/${file}.json. (e.g. ${emojibaseUrl}/en/data.json). The URL can be set to another CDN hosting the emojibase-data (https://www.npmjs.com/package/emojibase-data) package and its raw JSON files, or to a self-hosted location. When self-hosting with a single locale (e.g. en), only that locale's directory needs to be hosted instead of the entire package.
stickybooleantrueWhether the category headers should be sticky.
variant"default""plain""default"
onLoadError—Called when the emoji data fails to load (a network error, a failed custom resolver). The picker shows EmojiPickerError with Retry; use this to report the error.
labels—Words for some or all texts of the parts (EMOJI_PICKER_LABELS). Keep the object stable.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmojiPickerSearch

<div>
PropTypeDefaultDescription
childrenReactNode—Other content at the end of the row, after the field: an EmojiPickerSkinToneSelector.
rowProps—Props of the row around the field. A className here adds to the row classes.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmojiPickerSkinToneSelector

<div>
PropTypeDefaultDescription
emojistring"✋"The emoji to use as visual for the skin tone variations.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmojiPickerSkinTones

<div>
PropTypeDefaultDescription
classNamestring—
emojistring"✋"The emoji that shows each tone.
labelsPartial<Record<SkinTone, string>>—The names of the tones, for screen readers. Translate them with the page.
From Base UIToggleGroupBase UI docs
disabledbooleanfalseWhether the toggle group should ignore user interaction.
orientation"horizontal""vertical"'horizontal'
loopFocusbooleantrueWhether to loop keyboard focus back to the first item when the end of the list is reached while using the arrow keys.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmojiPickerViewport

<div>
PropTypeDefaultDescription
frameProps—Props of the frame around the scroll box. A className here adds to the frame classes.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmojiPickerCategoryHeader

<div>
PropTypeDefaultDescription
categoryRequired{ label: string; }—The category for this sticky header.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmojiPickerRow

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmojiPickerEmoji

<div>
PropTypeDefaultDescription
emojiRequired—The emoji for this button, its label, and whether the emoji is currently active (either hovered or selected via keyboard navigation).
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmojiPickerList

<div>
PropTypeDefaultDescription
componentsPartial<EmojiPickerListComponents>—The inner components of the list.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmojiPickerLoading

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmojiPickerEmpty

<div>
PropTypeDefaultDescription
children—The content to render when no emoji is found for the current search, or a render callback which receives the current search value.
messagestring"No emoji found"The first line. Translate it with the page.
descriptionemptyDescriptionThe second line, or a function of the search. Translate it with the page.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmojiPickerError

<div>
PropTypeDefaultDescription
children—Replaces the default content: gets the error and retry.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmojiPickerContent

<div>
PropTypeDefaultDescription
frameProps—Props of the frame around the scroll box. A className here adds to the frame classes.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmojiPickerFooter

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmojiPickerPreview

<div>
PropTypeDefaultDescription
placeholderReactNode"Pick an emoji"The text while no emoji is active. Translate it with the page.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmojiPickerActiveEmoji

PropTypeDefaultDescription
childrenRequired—A render callback which receives the currently active emoji (either hovered or selected via keyboard navigation).

EmojiPickerSkinTone

PropTypeDefaultDescription
emojistring"✋"The emoji to use as visual for the skin tone variations.
childrenRequired—A render callback which receives the current skin tone and a function to change it, as well as the skin tone variations of the specified emoji.
  • Use it when people pick one emoji from the full set, with search and skin tones.
  • Put it in a Popover with variant="plain": the Popover is then the surface.
  • Set locale to show the names and the search in one of 28 languages.
  • For a short fixed set of reactions, use a row of Toggle buttons.
Arrow keysMove between the emoji in the grid
EnterPick the active emoji
TabMove between the search, the skin tone button, and the grid

The grid comes from frimousse: each emoji is a button with role="gridcell" and a name. The arrow keys move the active emoji while focus stays in the search field, and a live region reads the active emoji. The picker adds 1 to aria-colindex, so columns count from 1. In a right-to-left picker, Left and Right swap.

The search field is named "Search emoji". The scroll box is a group named "Emoji". Translate both with aria-label.

frimousse names the skin tone button "Change skin tone (<next tone>)" and reads the new tone aloud. EmojiPickerSkinTones is a Base UI ToggleGroup named "Skin tone", and each button has a tone name. The 24px tone buttons have a 44px target on touch (hit-area), and the emoji cells grow to 44px on touch.

A load error has role="alert". Retry moves focus to the search field, because the button goes away.

Built with

Installs with Emoji Picker

Components
Button,Skeleton
  1. AddedEmoji Picker, with Button, Skeleton.
Open the release