Atelier UI

搜索组件…

搜索组件…

Emoji Picker

带分类、搜索、肤色选择和最近使用的表情选择器。

在沙盒中编辑

复制一段给 AI 编程工具的提示词,包含源码、依赖和用法

属性

EmojiPickerProps

同时支持以下类型的全部属性: Omit<React.ComponentProps<"div">, "onSelect">

属性类型默认值说明
onSelect(emoji: string) => void—Called with the chosen character (skin tone applied)
defaultRecentstring[]—Characters to seed the recent row with
closeOnSelectboolean—Close the popover after picking
align"start" | "end"——
triggerLabelReact.ReactNode—Custom trigger content
defaultOpenboolean—Opens on first render without moving focus, handy for static previews

安装

$ npx shadcn@latest add https://chromotion.dev/r/emoji-picker.json

同类组件