๐ŸŽจ CSS Variables

February 7, 2026 ยท View on GitHub

You can customize specific parts of the picker by overriding these CSS variables. Target .EmojiPickerReact or aside.EmojiPickerReact to apply them.

.EmojiPickerReact {
  --epr-emoji-size: 32px;
}

or

aside.EmojiPickerReact {
  --epr-emoji-size: 32px;
}

๐ŸŽ›๏ธ General Variables

VariableDescriptionDefault
--epr-emoji-sizeSize of the emojis.30px
--epr-emoji-paddingPadding around each emoji.5px
--epr-emoji-gapDeprecated. Use --epr-emoji-padding instead.-
--epr-bg-colorBackground color of the picker.#fff
--epr-text-colorMain text color.#858585
--epr-picker-border-colorBorder color of the picker container.#e7e7e7
--epr-picker-border-radiusBorder radius of the picker.8px
--epr-horizontal-paddingHorizontal padding for various elements.10px
--epr-highlight-colorColor for active states and highlights.#007aeb
--epr-hover-bg-colorBackground color on hover.#e5f0fa
--epr-focus-bg-colorBackground color on focus.#e0f0ff

๐Ÿ”Ž Search Input

VariableDescriptionDefault
--epr-search-input-bg-colorBackground color of the search input.#f6f6f6
--epr-search-input-bg-color-activeBackground color when search is active.var(--epr-search-input-bg-color)
--epr-search-input-text-colorText color in the search input.var(--epr-text-color)
--epr-search-input-placeholder-colorPlaceholder text color.var(--epr-text-color)
--epr-search-border-colorBorder color of the search input.var(--epr-search-input-bg-color)
--epr-search-border-color-activeBorder color when search is active.var(--epr-highlight-color)
--epr-search-input-border-radiusBorder radius of the search input.8px
--epr-search-input-heightHeight of the search input.40px
--epr-search-icon-colorColor of the search icon.-

๐Ÿท๏ธ Category Navigation

VariableDescriptionDefault
--epr-category-navigation-button-sizeSize of category navigation buttons.30px
--epr-category-icon-active-colorColor of the active category icon.#6aa8de

๐Ÿ“ƒ Category Labels

VariableDescriptionDefault
--epr-category-label-bg-colorBackground color of the sticky category label.#ffffffe6
--epr-category-label-text-colorText color of the category label.var(--epr-text-color)
--epr-category-label-heightHeight of the category label.40px

๐Ÿ‘๏ธ Preview Area

VariableDescriptionDefault
--epr-preview-heightHeight of the preview area.70px
--epr-preview-text-sizeFont size of text in the preview area.14px
--epr-preview-text-colorText color in the preview area.var(--epr-text-color)

๐Ÿ–๏ธ Skin Tone Picker

VariableDescriptionDefault
--epr-skin-tone-picker-menu-colorBackground color of the skin tone picker menu.#ffffff95
--epr-skin-tone-sizeSize of skin tone circles.20px

๐ŸŒ‘ Dark Mode

VariableDescriptionDefault
--epr-dark-bg-colorBackground color in dark mode.#222222
--epr-dark-picker-border-colorBorder color in dark mode.#151617
--epr-dark-text-colorText color in dark mode.var(--epr-highlight-color)
--epr-dark-search-input-bg-colorSearch input background in dark mode.#333333
--epr-dark-hover-bg-colorHover background color in dark mode.#363636f6