Emoji Keyboard

A panel of emoji in the keyboard's place, under a chat's composer, with a search, the recent ones first and a bar of the groups at its foot.

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

Examples

Overview

Platforms

iOS 27Android
Native componentNone: a messenger's emoji panel in the keyboard's placeNone: an emoji panel in the keyboard's place
PanelThe keyboard's height, color and corners of 30The keyboard's height and color, the navigation bar in it
GridColumns of 42 (at least 8), rows 49 apart, emoji 32, headings uppercase and centered8 square columns, emoji 32dp, headings at the start
FootABC, the bar of groups (42, the chosen one in a gray circle of 32), a backspaceABC, the bar of groups (48dp, the chosen one on the secondary container), a backspace
SearchThe field at the top with Cancel; one row of finds over the keyboardThe same

API

EmojiKeyboard

PropTypeDefaultDescription
emojisEmojiPickerEmoji[]—Every emoji the panel 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, headings and icons in the bar of groups, { id, label, icon? }; a group with no icon shows the kit's icon for its Unicode group (Smileys & Emotion, People & Body, Animals & Nature, Food & Drink, Travel & Places, Activities, Objects, Symbols, Flags), else its first emoji, in the bar. 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, with a clock in the bar of groups; none, no such group
recentsLabelstring"Frequently Used"The heading of the recent ones
onSelect(emoji: EmojiPickerEmoji) => void—Called with the emoji picked: the app puts it in its field
onClearRecents() => void—An X at the end of the recent ones' heading clears them; unset, no X
clearRecentsLabelstring"Clear"The X's name for assistive technologies
onBackspace() => void—The backspace at the foot's end: the app takes the last character from its field; unset, no backspace
backspaceLabelstring"Delete"The backspace's name for assistive technologies
onKeyboard() => void—The letters' key at the foot's start (ABC): the app focuses its field, and the keys come back; unset, no key
keyboardLabelstring"Keyboard"The key's name for assistive technologies
searchPlaceholderstring"Search Emoji"The search field's placeholder and its name for assistive technologies
cancelLabelstring"Cancel"The button that ends a search
emptyLabelstring"No Emoji Found"Shown when a search finds nothing
heightnumber—The panel's height; unset, the keyboard's own
testIDstring—Test id of the panel; its parts are testID-field, testID-cancel, testID-scroll, testID-grid, testID-emoji-<name>, testID-categories, testID-category-<section>, testID-keyboard and testID-backspace