Emoji Picker

Compact emoji picker grid with a default set of twelve reactions or your own list, using listbox and option roles. Calls onSelect with the chosen emoji.

src/registry/ui/emoji-picker.tsx/r/emoji-picker.json

Installation#

bash
npx shadcn@latest add @minidev/emoji-picker

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/emoji-picker.json

Usage#

tsx
import { EmojiPicker } from "@/components/ui/emoji-picker"

export function Example() {
  return (
    <EmojiPicker />
  )
}

API reference#

EmojiPicker props
PropTypeDefault
emojisstring[]DEFAULT
onSelect(emoji: string) => void-
classNamestring-

Examples#

All form components