

Every state


default


hover


focus


pressed


picker


empty


many
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "reactions-c12" | Id of the bar; the picker and descriptions hang off it. |
| label | string | "Reactions" | Accessible name of the bar. |
| reactions | CommentReactionsItem[] | [ { emoji: "👍", name: "Thumbs up", count: 4, mine: true, people: ["Sanne Visser", "Tomasz Nowak", "Lotte de Wit"] }, … | Reactions. |
| choices | CommentReactionsEmoji[] | [ { emoji: "👍", name: "Thumbs up" }, { emoji: "❤️", name: "Red heart" }, { emoji: "🎉", name: "Party popper" }, { emoj… | The emoji the picker offers. |
| addLabel | string | "Add reaction" | Add label. |
| pickerLabel | string | "Pick a reaction" | Heading inside the picker. |
| youLabel | string | "you" | How you are named in the list of people ("you"). |
| andLabel | string | "and" | "and", for the list of people. |
| addedText | string | "You reacted with" | Said after adding your reaction ("You reacted with"). |
| removedText | string | "You removed" | Said after taking it back ("You removed"). |
| onToggle | (emoji: string, on: boolean) => void | – | Called with the emoji and whether your reaction is now on. |
| className | string | – | Extra classes on the outer element. |
More comments
All 6comment-04 is in UI ProGet UI Pro, €199


