Skip to content
Star

Emoji and icons

Add a reaction picker or search your own emoji and icon catalog.

Render a reaction picker

Use EmojiIconPicker to let people choose an emoji, image, or icon.

Install the npm package and shared component styles, then add the picker’s grid dependency.

Install dependencies

Render ReactionPicker and open Choose a reaction to try the supplied items.

reaction-picker.tsx

For your own view, start with the picker hooks and loading guide. For localized data and icon sets, see catalogs and providers.

Look up a selection

emoji-selection.ts

The example logs the image record for brand:spark. Save the item ID and, when selected, the exact variant ID. Resolve those IDs against the current catalog when you render the selection.

Choose the imports you need

A catalog is an indexed collection of emoji, images, and icons. Use the styled picker for a ready-made React view, or import the core to search and look up selections in your own interface.

Store selections and resolve them later

EmojiIconContent uses a type of emoji, image, or icon. Catalog creation checks required IDs, labels, and content, and throws on duplicate item or variant IDs.

Your app decides which items are available, how to localize them, and where to save selections. If a saved item becomes unavailable, show a fallback and let the user pick again. See the API reference for exports and return values.

The styled EmojiIconPicker.Simple and complete picker accept size="base" | "lg" | "touch"; this sets 32px/16px, 40px/20px, or 44px/22px targets and glyphs. For the styled view’s dependencies, layout and CSS, use the component page.