Skip to content

Emoji picker

Pro

A panel for choosing emoji, with search, a tab per category, recently used emoji and a skin tone; plus its trigger, which inserts at the caret of a message field and opens in a popover, a bottom sheet or docked in the keyboard’s place on phones; and createEmojiSuggestions, which suggests emoji after : in a message field. Not an M3 component (@windmorph/react-pro/emoji-picker, with emojibase-data).

import { EmojiPicker, EmojiPickerTrigger, useEmojiPickerStorage } from '@windmorph/react-pro/emoji-picker';

Part of Windmorph Pro, paid components on the free core, not on sale yet. See the Pro guide for what it includes and to register interest.

Props

By name or description, across the 64 props below

EmojiPicker 23 props

  • loadDatatype EmojiDataLoaderdefault () => import('emojibase-data/en/data.json')

    Loads the emoji data: emojibase-data's data.json in a language, or a list of the same shape. Loaded on the first open and kept for the page by locale.

  • localetype stringdefault "en" with the default loader, "custom" with an app's

    The data's language, the key it's kept under: give one per loader when an app loads several.

  • customtype readonly CustomEmoji[]

    The app's own emoji, in a Custom category after Recently used.

  • customTexttype ((emoji: CustomEmoji) => string)default (emoji) => :${emoji.id}:

    The text a custom emoji inserts.

  • recenttype readonly string[]

    Recently used emoji keys, newest first (controlled): hexcodes, or custom: and an id.

  • defaultRecenttype readonly string[]

    The recent list when storage holds none (uncontrolled).

  • maxRecenttype numberdefault 16

    The most recently used emoji kept.

  • skinTonetype 0 | 1 | 2 | 3 | 4 | 5

    The skin tone (controlled).

  • defaultSkinTonetype 0 | 1 | 2 | 3 | 4 | 5default 0

    The skin tone when storage holds none (uncontrolled).

  • storageKeytype string | nulldefault "wm-emoji-picker"

    Where the recent list and the tone are kept in localStorage; null keeps them in memory for the page's life. Everyone using the browser shares a key, so an app with accounts passes one per account (or a controlled recent).

  • initialFocustype "search" | "none" | "auto"default "none" on its own, "auto" in EmojiPickerTrigger

    Where focus goes as the picker mounts: search, none, or auto (the search box with a fine pointer; the picker itself with a coarse one, so an on-screen keyboard doesn't cover it). Docked in EmojiPickerTrigger, the picker always takes focus (none acts as auto); search still wins, by touch too, bringing the keyboard up.

  • tabsVarianttype "primary" | "secondary"default "secondary"

    The category tabs' M3 variant. secondary (the default) suits a picker opened over other content, such as a field's tools, as M3 uses secondary tabs inside a content area. Choose primary (a short indicator under each icon, the selected icon in primary) when the picker is the main content of a page or panel, or to match primary tabs elsewhere in the app. Also data-tabs-variant on the root.

  • renderEmojitype ((emoji: EmojiData, text: string) => ReactNode)

    Draws each Unicode emoji (an app's own image set); the text by default.

  • iconstype Partial<EmojiPickerIcons>

    Replaceable icons.

  • reftype Ref<HTMLDivElement>

    Ref to the outermost element.

  • idtype string

    The outermost element's id.

Events

  • onEmojiSelecttype ((emoji: EmojiSelection) => void)

    Called with the emoji chosen (a press, Enter or Space), in the chosen tone.

  • onRecentChangetype ((recent: readonly string[]) => void)

    Called with the new recent list after a pick.

  • onSkinToneChangetype ((tone: EmojiSkinTone) => void)

    Called when a skin tone is chosen.

Text

  • labelstype Partial<EmojiPickerLabels>

    Words it shows or announces. A LabelsProvider sets them for the whole app.

Also accepts the root element's HTML attributes (id, data-*, event handlers).

EmojiPickerTrigger 41 props

  • opentype boolean

    Whether the picker is open (controlled).

  • defaultOpentype booleandefault false

    Whether it starts open, when uncontrolled.

  • closeOnSelecttype booleandefault false

    Close after a pick; by default it stays open for more.

  • focusOnSelecttype "auto" | "picker" | "field"default "auto"

    Where focus goes after a pick inside a MessageField or RichMessageField (outside one it stays in the picker). The picker stays open either way, unless closeOnSelect.

    auto: a mouse or pen pick puts focus back in the field's text, the caret just after the emoji, so the next keys typed carry on the message; a keyboard pick stays on the emoji picked, for the next; a touch keeps focus where it is, so the on-screen keyboard stays down.

    picker: always stays in the picker.

    field: always goes back to the text, a keyboard or touch pick too (a touch brings the on-screen keyboard up).

    In the bottom sheet the field is behind the modal sheet, so focus stays in the sheet whatever this says.

  • inserttype booleandefault true

    Inside a MessageField or RichMessageField, insert each pick at the caret through the field's insertText (before onEmojiSelect). In a RichMessageField Ctrl / ⌘ + Z takes a pick out again. In a plain MessageField it does for a pick that puts focus back in the text (focusOnSelect), but not for one that leaves focus in the picker, since the browser's undo records only edits made in the focused text box (docked, focusing it would bring the keyboard back over the panel; in the sheet, the field is behind it).

  • defaultKeyboardHeighttype numberdefault none: before a keyboard is measured, 40% of the window, at most 20rem

    The on-screen keyboard's height in px, for a docked panel below the field that opens before any keyboard has been measured on the page (one the app kept from onKeyboardHeightChange, say). Below the field the panel takes the keyboard's place at the keyboard's height: read as the panel replaces it, and remembered for the page's session only (nothing is stored). Set, the docked-height token wins over it.

  • icontype ReactElement<unknown, string | JSXElementConstructor<any>>default Material Symbols mood

    Replaces the button's icon.

  • keyboardIcontype ReactElement<unknown, string | JSXElementConstructor<any>>default Material Symbols keyboard

    Replaces the button's icon while the picker is docked.

  • sizetype "xs" | "sm" | "md" | "lg" | "xl"default the button context's, else "sm"

    The icon button's size.

  • disabledtype booleandefault the field's state inside a message field, else false

    Disables the button.

  • presentationtype "auto" | "popover" | "sheet" | "docked"default "auto"

    Where the picker shows: popover beside the button, a bottom sheet, or docked below the message field it's in, in the keyboard's place (the way messaging apps do on phones). auto: the popover from the medium window size, and at any size with a fine pointer (a mouse has no on-screen keyboard to take the place of); below the medium size with a coarse pointer (a touch screen), docked inside a MessageField or RichMessageField and a sheet anywhere else. docked outside a field shows as a sheet. Decided as it opens.

  • dockedPlacementtype "auto" | "above" | "below"default "auto"

    Where the docked picker goes against the field it's in:

    below: below the field, in the on-screen keyboard's place (the keyboard goes away as it opens, so the field stays still), at the keyboard's height; the button becomes "Show keyboard". Where an on-screen keyboard would be (a touch screen, or a window under the medium size) it reaches the window's sides and foot as the keyboard does, whatever the field's own inset, stopping at a container that clips; it takes the field's container colour, its top corners the field's grown corner, 8px under the field inside the keyboard's height, its search box a tone off (the docked-below-* tokens).

    above: above the field (before its label), taking the room of what's above it, so the field stays where it was; the button keeps its emoji icon and is named "Hide emoji" (labels.hide). Lay the conversation out to give the room up (in a flex column, the scrolling list as flex: 1 with min-height: 0, above the field) and keep its last messages in sight (a list pinned to its end, such as flex-direction: column-reverse). It reads as part of the field: the field's container colour and grown corner, 8px above it, its search box a tone off (the docked-above-* tokens), opening and closing as the field's own rows do.

    auto: above from the medium window size (a computer has no keyboard whose place it could take, so below it would push the field up by its height), below under it.

    Focus goes in as initialFocus says. With auto, below the field by touch the picker's panel takes it (the search box would bring the keyboard back over it); with a fine pointer, or above the field, the search box does, as in the popover.

    Decided as it opens. Only for the docked form (presentation).

  • placementtype "top" | "bottom" | "start" | "end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "start-top" | "start-bottom" | "end-top" | "end-bottom"default "top-start" or "top-end", from where the button sits

    Where the popover opens against its anchor (anchorRef, else the message field's box, else the button), flipping to the other side where there's no room. By default it opens above (top), aligned to the anchor's start or end, whichever side of it the button is on, so it stays near the button; without a field or anchorRef it opens top-start of the button.

  • anchorReftype RefObject<HTMLElement | null>default the message field's box, else the button

    The element the popover is placed against. Inside a MessageField or RichMessageField it's the field's box, so the picker never covers the text it writes into; give your own composer's box when you lay one out yourself. Focus still returns to the button.

  • reftype Ref<HTMLButtonElement>

    Ref to the button.

  • idtype string

    The button's id.

  • loadDatatype EmojiDataLoaderdefault () => import('emojibase-data/en/data.json')

    Loads the emoji data: emojibase-data's data.json in a language, or a list of the same shape. Loaded on the first open and kept for the page by locale.

  • localetype stringdefault "en" with the default loader, "custom" with an app's

    The data's language, the key it's kept under: give one per loader when an app loads several.

  • customtype readonly CustomEmoji[]

    The app's own emoji, in a Custom category after Recently used.

  • customTexttype ((emoji: CustomEmoji) => string)default (emoji) => :${emoji.id}:

    The text a custom emoji inserts.

  • recenttype readonly string[]

    Recently used emoji keys, newest first (controlled): hexcodes, or custom: and an id.

  • defaultRecenttype readonly string[]

    The recent list when storage holds none (uncontrolled).

  • maxRecenttype numberdefault 16

    The most recently used emoji kept.

  • skinTonetype 0 | 1 | 2 | 3 | 4 | 5

    The skin tone (controlled).

  • defaultSkinTonetype 0 | 1 | 2 | 3 | 4 | 5default 0

    The skin tone when storage holds none (uncontrolled).

  • storageKeytype string | nulldefault "wm-emoji-picker"

    Where the recent list and the tone are kept in localStorage; null keeps them in memory for the page's life. Everyone using the browser shares a key, so an app with accounts passes one per account (or a controlled recent).

  • initialFocustype "auto" | "none" | "search"default "none" on its own, "auto" in EmojiPickerTrigger

    Where focus goes as the picker mounts: search, none, or auto (the search box with a fine pointer; the picker itself with a coarse one, so an on-screen keyboard doesn't cover it). Docked in EmojiPickerTrigger, the picker always takes focus (none acts as auto); search still wins, by touch too, bringing the keyboard up.

  • tabsVarianttype "primary" | "secondary"default "secondary"

    The category tabs' M3 variant. secondary (the default) suits a picker opened over other content, such as a field's tools, as M3 uses secondary tabs inside a content area. Choose primary (a short indicator under each icon, the selected icon in primary) when the picker is the main content of a page or panel, or to match primary tabs elsewhere in the app. Also data-tabs-variant on the root.

  • renderEmojitype ((emoji: EmojiData, text: string) => ReactNode)

    Draws each Unicode emoji (an app's own image set); the text by default.

  • iconstype Partial<EmojiPickerIcons>

    Replaceable icons.

Events

  • onOpenChangetype ((open: boolean) => void)

    Called when it opens or closes.

  • onKeyboardHeightChangetype ((height: number) => void)

    Called with the on-screen keyboard's height in px each time a new one is measured: as the docked panel takes the keyboard's place, as the keyboard comes back over it, and as the field's text gives up focus. Keep it (in the app's storage) and pass it back as defaultKeyboardHeight, so the panel's first open on a later visit has the keyboard's height.

  • onEmojiSelecttype ((emoji: EmojiSelection) => void)

    Called with the emoji chosen (a press, Enter or Space), in the chosen tone.

  • onRecentChangetype ((recent: readonly string[]) => void)

    Called with the new recent list after a pick.

  • onSkinToneChangetype ((tone: EmojiSkinTone) => void)

    Called when a skin tone is chosen.

Text

  • aria-labeltype stringdefault labels.title ("Emoji")

    Names the button, its tooltip and the popover or sheet (as aria-labelledby does, when given). While docked the button names what it does instead: below the field labels.keyboard ("Show keyboard"), above it labels.hide ("Hide emoji").

  • aria-labelledbytype string

    The id of a visible name for the button and the popover or sheet (wins over aria-label).

  • labelstype Partial<EmojiPickerLabels>

    Words it shows or announces. A LabelsProvider sets them for the whole app.

Also accepts the root element's HTML attributes (id, data-*, event handlers).

Types

CustomEmoji 6 fields

An app's own emoji (a team's logo, a sticker), drawn from an image. It shows in its own category after Recently used, is found by search and kept in Recently used.

  • idtype stringRequired

    Unique among the custom emoji; kept in the recent list and given back on a pick.

  • labeltype stringRequired

    Its name: the cell's accessible name, the preview's text and what search matches.

  • tagstype readonly string[]

    More search words.

  • srctype string

    The image's address (the picker draws it at the emoji size, decoded lazily).

  • animatedSrctype string

    An animated version (GIF, WebP, APNG), played only while the emoji is hovered or focused and in the preview, and never under reduced motion, so the grid stays still (WCAG 2.2.2).

  • rendertype () => React.ReactNode

    Draws it instead of src (an icon, an inline SVG).

EmojiSelection 4 fields

What the picker hands the app when an emoji is chosen: the variant in the chosen tone, or the app's own emoji.

  • emojitype stringRequired

    The text to insert: the emoji itself, or the custom emoji's text code (:id: unless customText says otherwise), which the app turns back into its image when it shows text.

  • labeltype stringRequired

    Its name in the data's language, or the custom emoji's label.

  • hexcodetype string

    Its code points, in hexadecimal (the toned variant's when a tone applies). Not for a custom emoji.

  • customtype CustomEmoji

    The app's own emoji that was chosen.

EmojiData 8 fields

One emoji as emojibase-data's data.json gives it (any locale). Only the fields the picker reads are named, so the app's loader can return Emojibase's own Emoji[] or its own list of the same shape.

  • labeltype stringRequired

    The emoji's name in the data's language ("grinning face").

  • hexcodetype stringRequired

    Its code points, in hexadecimal, joined by - ("1F600").

  • emojitype stringRequired

    The emoji in emoji presentation, with its variation selector where it needs one.

  • tagstype readonly string[]

    Search words in the data's language.

  • grouptype number

    Emojibase's group number: 0 smileys, 1 people, 2 components, 3 animals … 9 flags.

  • ordertype number

    Its place in Unicode's order.

  • versiontype number

    The Unicode emoji version that added it (0.6 … 18).

  • skinstype readonly EmojiSkin[]

    Its skin-tone variants.

EmojiSuggestionsOptions 11 fields

What createEmojiSuggestions takes.

  • loadDatatype EmojiDataLoaderdefault English, from emojibase-data

    The emoji data, as the picker's loadData.

  • localetype stringdefault "en" with the default loader

    The data's language and cache key, as the picker's locale.

  • loadShortcodestype EmojiShortcodesLoaderdefault Emojibase's own English shortcodes with the default data, none with an app's loadData

    The shortcodes the list shows and matches (:smile:), by hexcode: any of emojibase-data's presets (() => import('emojibase-data/en/shortcodes/cldr.json')) or an app's own. null for none: names and keywords still match.

  • customtype readonly CustomEmoji[]

    The app's own emoji, matched by id and name, as the picker's custom.

  • customTexttype (emoji: CustomEmoji) => stringdefault :id:

    The text a custom emoji puts in, as the picker's customText.

  • minCharstype numberdefault 2

    How many characters after : open the list.

  • replaceOnColontype booleandefault true

    A : typed right after an exact shortcode (:smile:) replaces it with the emoji.

  • maxItemstype numberdefault 10

    How many emoji the list shows at most.

  • emoticonstype booleandefault false

    Turns an emoticon followed by a space into its emoji: :) 🙂, :( 🙁, :D 😃, ;) 😉, :P 😛, :O 😮, :| 😐, :'( 😢, :* 😘, <3 ❤️ (with or without a - nose).

  • storageKeytype stringdefault "wm-emoji-picker"

    Where the picker keeps Recently used and the skin tone (its storageKey): the list ranks the recent ones first, applies the tone, and adds its picks to Recently used.

  • classNamestype SuggestionListClassNames

    Classes for the list's parts.

Hooks

useEmojiPickerStorage

useEmojiPickerStorage signature
useEmojiPickerStorage(storageKey?: string | null): { recent: readonly string[]; skinTone: EmojiSkinTone | undefined; setRecent: (recent: readonly string[]) => void; setSkinTone: (skinTone: EmojiSkinTone) => void; }

The recently used emoji and the skin tone the picker keeps on this device, under storageKey in localStorage (null: in memory, for the page's life). Blocked or full storage never throws; the page keeps working from memory. For an app that shows the recent list elsewhere, or keeps it per account and passes it back as recent. The key is shared by everyone using the browser: an app with accounts passes a key per account.

  • storageKeytype string | null

Returns { recent: readonly string[]; skinTone: EmojiSkinTone | undefined; setRecent: (recent: readonly string[]) => void; setSkinTone: (skinTone: EmojiSkinTone) => void; }

  • recenttype readonly string[]Required
  • skinTonetype EmojiSkinTone | undefinedRequired
  • setRecenttype (recent: readonly string[]) => voidRequired
  • setSkinTonetype (skinTone: EmojiSkinTone) => voidRequired

Spec status

Not part of Material Design 3: a Windmorph Pro component, built on M3's colour roles, type scale, shapes and motion. Its variants and configurations each link to a live example.

  • The panel on its own (EmojiPicker)

    Built

    Configuration · Panel, Custom

  • In a message field’s tools, inserting at the caret

    Built

    Use case · Message field

  • Popover, bottom sheet or docked in the keyboard’s place (presentation)

    Built

    Configuration · Message field, Status

  • A one-off pick that closes (closeOnSelect)

    Built

    Configuration · Status

  • Custom emoji and their text (custom, customText)

    Built

    Configuration · Custom

  • Another language’s data and words (loadData, locale, LabelsProvider)

    Built

    Configuration · German

  • Emoji suggested after a colon in a message field (createEmojiSuggestions)

    Built

    Use case · Suggestions

  • Not an M3 component

    Extension

    M3 has no emoji picker; it is drawn with M3’s surface roles, the core’s secondary Tabs, SearchField, Menu, IconButton and BottomSheet, and the type scale.

  • Only what the device draws

    Extension

    Emoji newer than the device’s font, and flags where they draw as two letters, are hidden, found once per page with nothing stored.

Theming & tokens

Set the tokens below on the picker or any ancestor; the popover, the sheet and the docked panel read them too. className goes on the picker's root; style each part with classNames: root, header, search, tabs, tab, scroller, grid, section, heading, row, cell, status, footer, preview, skinTone, fallback. On the trigger, className goes on its button, and its classNames take button, popover, sheet, docked, picker (the picker's own keys). The root carries data-loading, data-error, data-searching, data-skin-tone and data-tabs-variant. Docked above a field, the picker sits in the field's classNames.panelAbove slot; below it, in classNames.panel.

EmojiPicker tokens
VariableDefaultPaints
--wm-emoji-picker-container-colorvar(--md-sys-color-surface-container-high)The panel’s surface.
--wm-emoji-picker-container-shapevar(--md-sys-shape-corner-large)The panel’s corners. The popover’s follow it when it’s set on `:root`, a theme or the popover’s panel (`classNames.popover`), not on the picker’s own root, inside the popover; the sheet keeps its own.
--wm-emoji-picker-width408pxThe panel’s width on its own and in the popover: eight cells and the padding.
--wm-emoji-picker-heightmin(440px, calc(100dvh - 32px))The panel’s height on its own and in the popover; in the sheet it follows the sheet.
--wm-emoji-picker-sheet-heightmin(60dvh, 480px)The sheet’s height on phones, so the field the emoji go into stays in sight above it.
--wm-emoji-picker-docked-heightclamp(240px, var(--_wm-emoji-picker-keyboard-height, min(40dvh, 20rem)), 50dvh)The panel docked in the keyboard’s place on phones: the keyboard’s last height (between 240px and half the window), before it has shown 40% of the window, at most 20rem (more with larger text).
--wm-emoji-picker-docked-durationvar(--md-sys-motion-spring-spatial-default-duration)How long the panel docked below the field takes to rise from the field’s edge with no keyboard to replace, and to go back (the default spatial spring’s duration; at once under reduced motion). Docked above, it opens and closes as the field’s own rows do, on the field’s `spring-duration` and `spring-easing` tokens.
--wm-emoji-picker-docked-easingvar(--md-sys-motion-spring-effects-default-easing)The rise of the panel docked below the field, and its reverse: the default effects spring, which never overshoots, so the height never bounces.
--wm-emoji-picker-docked-fade-durationvar(--md-sys-motion-spring-effects-fast-duration)How long the content of the panel docked below the field takes to fade in and out (the fast effects spring), under reduced motion too.
--wm-emoji-picker-docked-fade-easingvar(--md-sys-motion-spring-effects-fast-easing)The easing of the fade of the panel docked below the field.
--wm-emoji-picker-docked-above-container-colorvar(--wm-emoji-picker-container-color, var(--_wm-message-field-container, var(--md-sys-color-surface-container-high)))The panel’s surface docked above a field (from the medium window size): an app’s `container-color` when it sets one, else the field’s own container colour (`--wm-message-field-container`, as it resolves for that field’s variant), so the panel reads as part of the field and an app’s field colour reaches it.
--wm-emoji-picker-docked-above-container-shapevar(--_wm-message-field-grown-corner, var(--md-sys-shape-corner-extra-large))The panel’s corners docked above a field: the field’s grown corner (`--wm-message-field-grown-corner`), so they match the field’s.
--wm-emoji-picker-docked-above-search-container-colorvar(--wm-emoji-picker-search-container-color, var(--_wm-emoji-picker-docked-search-tone, var(--md-sys-color-surface-container-highest)))The search box docked above a field, a tone off the panel (which takes the field’s colour): an app’s `search-container-color` when it sets one, else by the field’s variant, `surface-container-highest` on a filled or outlined field and `surface-container-lowest` on a tonal one (whose `secondary-container` the highest matches in tone). With a field set to another container role, set this a step from it (`surface-container-high` on a `surface-container-highest` field).
--wm-emoji-picker-docked-above-outline-colorvar(--_wm-message-field-outline, transparent)The 1px edge of the panel docked above a field: the field’s own outline (`--wm-message-field-outline`), so above an outlined field, whose container is transparent, the panel is drawn as the field is; transparent on a filled or tonal field.
--wm-emoji-picker-docked-above-gap8pxThe space between the panel docked above a field and the field, inside the room it opens, so it never touches the field.
--wm-emoji-picker-docked-below-container-colorvar(--wm-emoji-picker-container-color, var(--_wm-message-field-container, var(--md-sys-color-surface-container-high)))The panel’s surface docked below a field, in the keyboard’s place on phones: an app’s `container-color` when it sets one, else the field’s own container colour (`--wm-message-field-container`, as it resolves for that field’s variant), so the panel reads as part of the field, as it does above it.
--wm-emoji-picker-docked-below-container-shapevar(--_wm-message-field-grown-corner, var(--md-sys-shape-corner-extra-large))The top corners of the panel docked below a field: the field’s grown corner (`--wm-message-field-grown-corner`), so they match the field’s; its bottom corners are square, at the window’s foot.
--wm-emoji-picker-docked-below-search-container-colorvar(--wm-emoji-picker-search-container-color, var(--_wm-emoji-picker-docked-search-tone, var(--md-sys-color-surface-container-highest)))The search box docked below a field, a tone off the panel (which takes the field’s colour), as docked above: an app’s `search-container-color` when it sets one, else by the field’s variant, `surface-container-highest` on a filled or outlined field and `surface-container-lowest` on a tonal one (`surface-container-high` in dark mode). With a field set to another container role, set this a step from it (`surface-container-high` on a `surface-container-highest` field).
--wm-emoji-picker-docked-below-outline-colorvar(--_wm-message-field-outline, transparent)The 1px edge along the top and sides of the panel docked below a field: the field’s own outline (`--wm-message-field-outline`), so below an outlined field, whose container is transparent, the panel is drawn as the field is; transparent on a filled or tonal field.
--wm-emoji-picker-docked-below-gap8pxThe space between a field and the panel docked below it, inside the keyboard’s height the panel takes, so the field still sits where the keyboard’s top was and never touches the panel.
--wm-emoji-picker-padding12pxThe space at the panel’s sides, around the search, the grid and the footer.
--wm-emoji-picker-gap8pxThe space between the search, the tabs, the grid and the footer, and above and below the footer’s content.
--wm-emoji-picker-cell-size48pxEach emoji’s cell, its touch target; the columns follow from it.
--wm-emoji-picker-cell-shapevar(--md-sys-shape-corner-medium)The corners of a cell’s hover, pressed and focus layer.
--wm-emoji-picker-cell-state-colorvar(--md-sys-color-on-surface)The colour of a cell’s hover, pressed and focus layer, at the system’s state opacities.
--wm-emoji-picker-emoji-size28pxThe emoji’s size in its cell.
--wm-emoji-picker-font-family"Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", "Segoe UI Symbol", sans-serifThe fonts the emoji draw with: each platform’s colour emoji font first.
--wm-emoji-picker-heading-colorvar(--md-sys-color-on-surface-variant)Each category’s heading.
--wm-emoji-picker-preview-size32pxThe previewed emoji’s size in the footer.
--wm-emoji-picker-search-container-colorvar(--md-sys-color-surface-container-highest)The search box, a step above the panel’s surface so its edge shows.
--wm-emoji-picker-footer-height56pxThe footer’s least height: the preview and the skin-tone button.
--wm-emoji-picker-divider-colorvar(--md-sys-color-outline-variant)The line between the grid and the footer.
--wm-emoji-picker-tone-size24pxThe hand on the skin-tone button and in its menu.
--wm-emoji-picker-preview-label-colorvar(--md-sys-color-on-surface)The previewed emoji’s name in the footer.
--wm-emoji-picker-status-colorvar(--md-sys-color-on-surface-variant)The text of the empty and error states.
--wm-emoji-picker-fallback-container-colorvar(--md-sys-color-surface-container-highest)The circle drawn in place of a custom emoji whose image couldn’t load, behind its first letter.
--wm-emoji-picker-fallback-colorvar(--md-sys-color-on-surface-variant)The first letter of a custom emoji whose image couldn’t load.