Emoji picker
ProA 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
EmojiPicker 23 props
Loads the emoji data:
emojibase-data'sdata.jsonin a language, or a list of the same shape. Loaded on the first open and kept for the page bylocale.The data's language, the key it's kept under: give one per loader when an app loads several.
The app's own emoji, in a Custom category after Recently used.
The text a custom emoji inserts.
Recently used emoji keys, newest first (controlled): hexcodes, or
custom:and an id.The recent list when storage holds none (uncontrolled).
The most recently used emoji kept.
The skin tone (controlled).
The skin tone when storage holds none (uncontrolled).
Where the recent list and the tone are kept in
localStorage;nullkeeps 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 controlledrecent).Where focus goes as the picker mounts:
search,none, orauto(the search box with a fine pointer; the picker itself with a coarse one, so an on-screen keyboard doesn't cover it). Docked inEmojiPickerTrigger, the picker always takes focus (noneacts asauto);searchstill wins, by touch too, bringing the keyboard up.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. Chooseprimary(a short indicator under each icon, the selected icon inprimary) when the picker is the main content of a page or panel, or to match primary tabs elsewhere in the app. Alsodata-tabs-varianton the root.Draws each Unicode emoji (an app's own image set); the text by default.
Replaceable icons.
Ref to the outermost element.
The outermost element's id.
Events
Called with the emoji chosen (a press, Enter or Space), in the chosen tone.
Called with the new recent list after a pick.
Called when a skin tone is chosen.
Text
Words it shows or announces. A
LabelsProvidersets them for the whole app.Names the picker.
Names the search box and is its placeholder.
labels.categorytype(category: EmojiCategory) => stringdefault"Recently used", "Custom", "Smileys and people", "Animals and nature", "Food and drink", "Travel and places", "Activities", "Objects", "Symbols", "Flags"Each category's name: its tab and its heading.
Names the category tabs.
Names the grid while searching.
labels.resultstype(count: number, formatted: string) => stringdefault(count, formatted) => "12 emoji" ("1 emoji")Announced after a search, with the count in the locale's digits.
Shown and announced when a search finds nothing.
Announced while the emoji load.
Shown and announced when the emoji can't load.
The button that loads them again.
Names the skin-tone menu.
Names the skin-tone button, with the tone chosen.
Names the trigger's button while the picker is docked in the keyboard's place on a phone: pressing it brings the keyboard back.
Names the trigger's button while the picker is docked above the field (on a computer): pressing it hides the picker.
labels.tonetype(tone: EmojiSkinTone) => stringdefault"No skin tone", "Light", "Medium-light", "Medium", "Medium-dark", "Dark"Each skin tone's name.
Classes for the outermost element. Wins over the defaults via
cn().Classes for each part.
The outermost element (the same element as
className).The search box and the tabs (sticky in the sheet).
The core
SearchField's root.The core
Tabs' root.Each category tab.
The box the grid scrolls in (in the sheet, the sheet's content scrolls instead).
The grid (
role="grid").Each category's rows (
role="rowgroup").Each category's heading.
Each row of emoji.
Each emoji's cell.
The circle drawn in a custom emoji's cell (and the preview) when its image can't load.
The empty and error states (the grid shows placeholder cells while it loads).
The previewed emoji and its name.
The skin-tone button.
Inline styles for the outermost element.
Also accepts the root element's HTML attributes (id, data-*, event handlers).
EmojiPickerTrigger 41 props
Whether the picker is open (controlled).
Whether it starts open, when uncontrolled.
Close after a pick; by default it stays open for more.
Where focus goes after a pick inside a
MessageFieldorRichMessageField(outside one it stays in the picker). The picker stays open either way, unlesscloseOnSelect.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.
Inside a
MessageFieldorRichMessageField, insert each pick at the caret through the field'sinsertText(beforeonEmojiSelect). In aRichMessageFieldCtrl / ⌘ + Z takes a pick out again. In a plainMessageFieldit 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).defaultKeyboardHeighttypenumberdefault none: before a keyboard is measured, 40% of the window, at most20remThe 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, thedocked-heighttoken wins over it.Replaces the button's icon.
keyboardIcontypeReactElement<unknown, string | JSXElementConstructor<any>>default Material SymbolskeyboardReplaces the button's icon while the picker is docked.
The icon button's size.
Disables the button.
Where the picker shows:
popoverbeside the button, a bottomsheet, ordockedbelow 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 aMessageFieldorRichMessageFieldand a sheet anywhere else.dockedoutside a field shows as a sheet. Decided as it opens.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 (thedocked-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 asflex: 1withmin-height: 0, above the field) and keep its last messages in sight (a list pinned to its end, such asflex-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 (thedocked-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
initialFocussays. Withauto, 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 sitsWhere 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 oranchorRefit openstop-startof the button.The element the popover is placed against. Inside a
MessageFieldorRichMessageFieldit'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.Ref to the button.
The button's id.
Loads the emoji data:
emojibase-data'sdata.jsonin a language, or a list of the same shape. Loaded on the first open and kept for the page bylocale.The data's language, the key it's kept under: give one per loader when an app loads several.
The app's own emoji, in a Custom category after Recently used.
The text a custom emoji inserts.
Recently used emoji keys, newest first (controlled): hexcodes, or
custom:and an id.The recent list when storage holds none (uncontrolled).
The most recently used emoji kept.
The skin tone (controlled).
The skin tone when storage holds none (uncontrolled).
Where the recent list and the tone are kept in
localStorage;nullkeeps 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 controlledrecent).Where focus goes as the picker mounts:
search,none, orauto(the search box with a fine pointer; the picker itself with a coarse one, so an on-screen keyboard doesn't cover it). Docked inEmojiPickerTrigger, the picker always takes focus (noneacts asauto);searchstill wins, by touch too, bringing the keyboard up.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. Chooseprimary(a short indicator under each icon, the selected icon inprimary) when the picker is the main content of a page or panel, or to match primary tabs elsewhere in the app. Alsodata-tabs-varianton the root.Draws each Unicode emoji (an app's own image set); the text by default.
Replaceable icons.
Events
Called when it opens or closes.
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.Called with the emoji chosen (a press, Enter or Space), in the chosen tone.
Called with the new recent list after a pick.
Called when a skin tone is chosen.
Text
Names the button, its tooltip and the popover or sheet (as
aria-labelledbydoes, when given). While docked the button names what it does instead: below the fieldlabels.keyboard("Show keyboard"), above itlabels.hide("Hide emoji").The id of a visible name for the button and the popover or sheet (wins over
aria-label).Words it shows or announces. A
LabelsProvidersets them for the whole app.Names the picker.
Names the search box and is its placeholder.
labels.categorytype(category: EmojiCategory) => stringdefault"Recently used", "Custom", "Smileys and people", "Animals and nature", "Food and drink", "Travel and places", "Activities", "Objects", "Symbols", "Flags"Each category's name: its tab and its heading.
Names the category tabs.
Names the grid while searching.
labels.resultstype(count: number, formatted: string) => stringdefault(count, formatted) => "12 emoji" ("1 emoji")Announced after a search, with the count in the locale's digits.
Shown and announced when a search finds nothing.
Announced while the emoji load.
Shown and announced when the emoji can't load.
The button that loads them again.
Names the skin-tone menu.
Names the skin-tone button, with the tone chosen.
Names the trigger's button while the picker is docked in the keyboard's place on a phone: pressing it brings the keyboard back.
Names the trigger's button while the picker is docked above the field (on a computer): pressing it hides the picker.
labels.tonetype(tone: EmojiSkinTone) => stringdefault"No skin tone", "Light", "Medium-light", "Medium", "Medium-dark", "Dark"Each skin tone's name.
Classes for the button. Wins over the defaults via
cn().Classes for each part.
The popover's panel, from the medium window size.
The bottom sheet's panel, on phones.
The docked panel: below a message field in the keyboard's place on phones, or above it (the room it opens, its gap under the panel included).
The picker's parts.
Inline styles for the button.
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.
Unique among the custom emoji; kept in the recent list and given back on a pick.
Its name: the cell's accessible name, the preview's text and what search matches.
The image's address (the picker draws it at the emoji size, decoded lazily).
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).
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.
The text to insert: the emoji itself, or the custom emoji's text code (
:id:unlesscustomTextsays otherwise), which the app turns back into its image when it shows text.Its name in the data's language, or the custom emoji's
label.Its code points, in hexadecimal (the toned variant's when a tone applies). Not for a custom emoji.
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.
The emoji's name in the data's language ("grinning face").
Its code points, in hexadecimal, joined by
-("1F600").The emoji in emoji presentation, with its variation selector where it needs one.
Emojibase's group number: 0 smileys, 1 people, 2 components, 3 animals … 9 flags.
Its place in Unicode's order.
The Unicode emoji version that added it (0.6 … 18).
Its skin-tone variants.
EmojiSuggestionsOptions 11 fields
What createEmojiSuggestions takes.
The emoji data, as the picker's
loadData.The data's language and cache key, as the picker's
locale.loadShortcodestypeEmojiShortcodesLoaderdefault Emojibase's own English shortcodes with the default data, none with an app'sloadDataThe shortcodes the list shows and matches (
:smile:), by hexcode: any ofemojibase-data's presets (() => import('emojibase-data/en/shortcodes/cldr.json')) or an app's own.nullfor none: names and keywords still match.The app's own emoji, matched by id and name, as the picker's
custom.The text a custom emoji puts in, as the picker's
customText.How many characters after
:open the list.A
:typed right after an exact shortcode (:smile:) replaces it with the emoji.How many emoji the list shows at most.
Turns an emoticon followed by a space into its emoji:
:)🙂,:(🙁,:D😃,;)😉,:P😛,:O😮,:|😐,:'(😢,:*😘,<3❤️ (with or without a-nose).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.Classes for the list's parts.
Hooks
useEmojiPickerStorage
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.
Returns { recent: readonly string[]; skinTone: EmojiSkinTone | undefined; setRecent: (recent: readonly string[]) => void; setSkinTone: (skinTone: EmojiSkinTone) => void; }
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.
| Item | Status | Details |
|---|---|---|
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. |
In a message field’s tools, inserting at the caret
BuiltUse case · Message field
Popover, bottom sheet or docked in the keyboard’s place (
Builtpresentation)Configuration · Message field, Status
A one-off pick that closes (
BuiltcloseOnSelect)Configuration · Status
Custom emoji and their text (
Builtcustom,customText)Configuration · Custom
Another language’s data and words (
BuiltloadData,locale,LabelsProvider)Configuration · German
Emoji suggested after a colon in a message field (
BuiltcreateEmojiSuggestions)Use case · Suggestions
Not an M3 component
ExtensionM3 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
ExtensionEmoji 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.
| Variable | Default | Paints |
|---|---|---|
--wm-emoji-picker-container-color | var(--md-sys-color-surface-container-high) | The panel’s surface. |
--wm-emoji-picker-container-shape | var(--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-width | 408px | The panel’s width on its own and in the popover: eight cells and the padding. |
--wm-emoji-picker-height | min(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-height | min(60dvh, 480px) | The sheet’s height on phones, so the field the emoji go into stays in sight above it. |
--wm-emoji-picker-docked-height | clamp(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-duration | var(--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-easing | var(--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-duration | var(--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-easing | var(--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-color | var(--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-shape | var(--_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-color | var(--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-color | var(--_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-gap | 8px | The 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-color | var(--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-shape | var(--_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-color | var(--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-color | var(--_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-gap | 8px | The 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-padding | 12px | The space at the panel’s sides, around the search, the grid and the footer. |
--wm-emoji-picker-gap | 8px | The space between the search, the tabs, the grid and the footer, and above and below the footer’s content. |
--wm-emoji-picker-cell-size | 48px | Each emoji’s cell, its touch target; the columns follow from it. |
--wm-emoji-picker-cell-shape | var(--md-sys-shape-corner-medium) | The corners of a cell’s hover, pressed and focus layer. |
--wm-emoji-picker-cell-state-color | var(--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-size | 28px | The 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-serif | The fonts the emoji draw with: each platform’s colour emoji font first. |
--wm-emoji-picker-heading-color | var(--md-sys-color-on-surface-variant) | Each category’s heading. |
--wm-emoji-picker-preview-size | 32px | The previewed emoji’s size in the footer. |
--wm-emoji-picker-search-container-color | var(--md-sys-color-surface-container-highest) | The search box, a step above the panel’s surface so its edge shows. |
--wm-emoji-picker-footer-height | 56px | The footer’s least height: the preview and the skin-tone button. |
--wm-emoji-picker-divider-color | var(--md-sys-color-outline-variant) | The line between the grid and the footer. |
--wm-emoji-picker-tone-size | 24px | The hand on the skin-tone button and in its menu. |
--wm-emoji-picker-preview-label-color | var(--md-sys-color-on-surface) | The previewed emoji’s name in the footer. |
--wm-emoji-picker-status-color | var(--md-sys-color-on-surface-variant) | The text of the empty and error states. |
--wm-emoji-picker-fallback-container-color | var(--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-color | var(--md-sys-color-on-surface-variant) | The first letter of a custom emoji whose image couldn’t load. |