Skip to content
Look

Shared with the landing page. Theme is the select beside this menu.

EmojiPicker

Open .md
Live preview

Loading example…

Emoji panel with search, category tabs and a keyboard-navigable grid (arrows, Home/End; Enter or Space picks). The panel adapts to its container width and holds no portal, so it works inline or inside a popover.

import { EmojiPicker } from "@jcsoftdev/ui/forms";

Single-component entry points tree-shake to just this component: @jcsoftdev/ui/forms/emoji-picker.

export const Default: Story = { render: (args) => <WithPreview {...args} /> };

Source of the Storybook story.

Prop Type Default Description
onSelect ((emoji: string) => void)
categories EmojiCategory[] EMOJI_CATEGORIES Replaces the built-in dataset (EMOJI_CATEGORIES).
defaultCategory string Initial category id.
searchPlaceholder string "Buscar emoji"
className string
classNames Partial<Record<EmojiPickerPart, string>> Per-part classes merged with cn; consumer classes win. className still targets the root and is merged last.
intent string
intentKey string

* marks a required prop.

packages/ui/src/forms/emoji-picker/emoji-picker.tsx