Emoji Picker

A sheet of emoji to pick from, with a search over a grid in groups and the recent ones first.

import { EmojiPicker } from "@plexui/react-native"

Examples

Overview

Platforms

iOS 27Android
Native componentNone: a sheet with .searchable(placement: .navigationBarDrawer) over a gridNone: an emoji picker in a bottom sheet
SearchA 44pt glass capsule under the bar, in line with Close; while active the bar goes and an X follows the fieldA search pill at the top of the content, under the title
GridAt least 8 items of 40pt a row, each in the middle of a row of 49pt, emoji 32pt8 square columns across the width, emoji 32dp
HeadingsUppercase and centered, 13pt semibold, secondary, the text 7pt into 26pt14sp medium, onSurfaceVariant

API

EmojiPicker

PropTypeDefaultDescription
openboolean—Whether the sheet is open
onOpenChange(open: boolean) => void—Called as the sheet opens or closes: Close, a drag down, a tap on the dim, or a pick when closes is set
emojisEmojiPickerEmoji[]—Every emoji the picker offers, in order: { symbol, name, group, keywords? }. The name is the emoji's name for a screen reader and what a search finds, with the keywords
groupsEmojiPickerGroup[]—The groups' order and headings, { id, label }; unset, the groups stand in the order their first emoji comes, headed by their ids
recentsstring[]—The symbols of the emoji used lately, shown first under recentsLabel; none, no such group
recentsLabelstring"Frequently Used"The heading of the recent ones
onSelect(emoji: EmojiPickerEmoji) => void—Called with the emoji picked
closesbooleantrueA pick closes the sheet
titleReactNode"Emoji"The sheet's title
searchPlaceholderstring"Search Emoji"The search field's placeholder and its name for assistive technologies
emptyLabelstring"No Emoji Found"Shown when a search finds nothing
cancelLabelstring"Cancel"The name of the X that ends a search
testIDstring—Test id of the sheet; its parts are testID-field (the search), testID-grid and testID-emoji-<name>