Emoji picker
Searchable emoji in a menu or a bottom sheet, with category navigation, exact Unicode skin tones per emoji and buyer-owned recents.
npx @swipeui/cli add emoji-pickerWhen to use it
- Choosing emoji for messages and reactions.
When not to use it
- Rendering a fixed decorative symbol.
Installation
Installs with a Pro licence
Everything on this page is public except the source. Founder pre-sale opens around 5 January 2027.
Usage
import { EmojiPicker } from '@/components/swipeui/ui/emoji-picker';
<EmojiPicker onPick={emoji => insertEmoji(emoji)} />;Examples
It always opens from its trigger: a menu beside a composer, multiple for reactions, or a bottom sheet on a phone (auto picks the sheet below 600pt).
API reference
| Prop | Type | Default | Description |
|---|---|---|---|
onPick? | | — | Reports the picked glyph and its Unicode metadata. |
multiple? | | | Keep the picker open after picking (reactions). |
presentation? | | | How the picker opens from its trigger: a |
open? | | — | Controlled visibility. |
defaultOpen? | | | Initial visibility. |
onOpenChange? | | — | Reports visibility. |
trigger? | | | Custom trigger content, such as an icon; |
columns? | | | Columns, or |
size? | | | Cell size, always at least 44pt. |
skinTone? | | — | The skin tone shown on toneable emoji, 0–5 (controlled). Tones are otherwise chosen per emoji. |
defaultSkinTone? | | | The skin tone shown at first. |
onSkinToneChange? | | — | Reports skin tone changes made through |
storage? | | | Recents storage adapter. |
popular? | | — | Glyphs shown before the first pick. |
maxEmojiVersion? | | | Cap the Unicode version to the fonts on the target devices. |
categories? | | | Allowed Unicode category names. |
searchable? | | | Show search. |
holdToPreview? | | | Long-press an emoji to see its name and pick one of its skin tones. |
messages? | | — | Localized labels. |
haptics? | | | Selection feedback. |
motion? | | — | Shared selection motion. |
className? | | — | Trigger wrapper classes. |
style? | | — | Trigger wrapper style. |
testID? | | — | Trigger identifier; the panel is |
Emoji picker settings
| Prop | Does | Default |
|---|---|---|
| presentation | auto, menu or sheet | auto |
| trigger | Custom trigger content | 🙂 and the label |
| multiple | Keep it open after a pick | false |
| columns | Container-based columns or explicit count | auto |
| size | Cell size; retains 44pt targets | md |
| skinTone | The tone toneable emoji show, 0–5 | 0 |
| storage | Buyer persistence adapter for recents | memory |
| popular | Choices before the first pick | Small built-in set |
| maxEmojiVersion | Match fonts available on the device | 17 |
| categories | Allowed Unicode categories | All |
| searchable | Search names and keywords | true |
| holdToPreview | Long-press for the name and that emoji's tones | true |
| messages | Interface labels | English |
| haptics | Selection feedback | true |
| motion | Shared selection feel | App feel |
Composition and behavior
Tap category tabs or hold and scrub them. Long-press an emoji for a small strip with its name and its Unicode tones; the tone you pick stays with that emoji (Recent shows it) and never recolours the rest. Only exact Unicode variants are used; symbols are never given unsupported modifiers. The grid renders only the rows near the viewport, so it opens and scrolls quickly on a phone.
The private dataset is generated from Unicode Emoji 17.0 and CLDR 48, with the Unicode License v3 notice retained. Regenerate or trim it with scripts/emoji-data/generate.py; no data dependency is installed. The public demonstration is written separately and loads its own public list, generated from the same Unicode files (generate.py --web). Native font coverage and runtime remain pending.
Behavior and gestures
- Tap the trigger: a menu opens beside it, or a bottom sheet on a phone. Search by name or keyword and tap to pick; long-press an emoji for its name and its Unicode tones.
Accessibility
- Named emoji buttons with a long-press hint on toneable ones; the sheet has a named close cross; category tabs report selection.
Motion
- Uses the
select,toggleandpressmotion roles, so it follows your app's feel. Passmotionto tune this one instance. - The category highlight glides on the select role; the menu and sheet open on their overlay and select roles.
- Reduce Motion moves the highlight instantly.
Performance
- Plain memoised cells in a fixed-height scroll view that renders only the rows near the viewport; no VirtualizedList, so it nests in menus, sheets and scroll views.
Notes for AI
- Needs SheetProvider for the sheet and OverlayProvider for the menu at the app root.
- presentation="inline" was removed in 1.1.0; use menu.
Compatibility
| Runs on | Supported |
|---|---|
| Expo SDK 57 | Yes |
| Expo SDK 58 | Yes |
| React Native CLI (with Expo modules) | Yes |
| Expo Go | Yes |
| iOS | Yes |
| Android | Yes |
This table describes API support and static bundle checks. Native runtime, device accessibility and bare Uniwind compatibility remain pending.