LabsPortfolio

Components

Controls

Reaction Arc

An emoji reaction picker where the tapped emoji flies onto the message's reaction badge along a curved path — built on Motion's new arc() easing with a spring-pop landing.

All components
MC
Mira Chenjust now

Just shipped the new onboarding flow — 40% faster activation in the first cohort 🎉

+

Installation

Coming soon. Components will be available via the registry once checkout goes live.

Usage

<ReactionArc
  author="Mira Chen"
  message="Just shipped the new onboarding flow 🎉"
  emojis={["👍", "❤️", "🔥", "😂", "👀"]}
/>

Props

PropTypeDefaultDescription
messagestringBody text of the message card.
authorstring"Mira Chen"Display name shown above the message; initials feed the avatar.
emojisstring[]["👍", "❤️", "🔥", "😂", "👀"]Emojis rendered in the picker row.
strengthnumber0.6How far the arc bows away from the straight-line path.
peaknumber0.2Where along the flight the curve peaks (0–1).
durationnumber0.55Flight duration in seconds.
direction"cw" | "ccw" | "auto""ccw"Bend direction of the arc; auto lets Motion pick the natural curve.
classNamestringTailwind classes on the root container.

Use cases

  • Chat reactions

    Slack/iMessage-style emoji reactions that visibly travel from picker to message.

  • Social engagement

    Likes and hearts that arc from the button onto a post's counter.

  • Add-to-collection

    Any item-flies-to-target pattern — save, bookmark, or add-to-cart feedback.

  • Gamified feedback

    Points or rewards that lob into a score badge with a spring-pop landing.