103
Tap or hold the smiley and a tray of emoji pours out of it like liquid; slide to one and let go, and it lands on the message as a counted chip with yours lit up.
akaemoji reactions·reaction tray·emoji picker
Run this in any project set up for the shadcn CLI. It copies the Reaction Picker source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/reaction-picker.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { ReactionPicker } from "@/components/reaction-picker";
export default function Page() {
return <ReactionPicker />;
}A free React component in the Together collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Reaction Picker source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| reactions | Reaction[] | [] |
| options | ReactionOption[] | defaultReactionOptions |
| onChange | (reactions: Reaction[]) => void | — |
| holdDelay | number | 280 |
| className | string | — |