# Emoji Reaction Jar

Emoji Reaction Jar is a free, MIT-licensed standalone component from AI Canvas (https://aicanvas.me): it belongs to no design system and works in any React + Tailwind app. Index of every component and install setup: https://aicanvas.me/llms.txt

Glass jar widget. Click a reaction to spring the lid and watch the emoji bounce down.

- Category: Widgets
- Built with: Motion, Matter.js, Tailwind CSS
- License: MIT
- Page: https://aicanvas.me/components/jar-of-emotions

## Install

```bash
npx shadcn@latest add @aicanvas/jar-of-emotions
```

Needs a free AI Canvas account. Signed out, the command exits 0 but writes a placeholder (an `AccountRequired` notice); check for it before reporting success. Token setup: the Install section of https://aicanvas.me/llms.txt.

AI agents can also get its install command from the read-only AI Canvas MCP server (`npx -y @aicanvas/mcp`) and run it. Setup: https://aicanvas.me/mcp

Peer dependencies:

```bash
npm install framer-motion matter-js
```

## Use it

It installs to `components/aicanvas/jar-of-emotions.tsx` (under `src/` if your project has one). With the usual `@/` alias:

```tsx
import JarOfEmotions from '@/components/aicanvas/jar-of-emotions'

<JarOfEmotions />
```

It takes no props.

## About

Emoji Reaction Jar is a glass jar widget with a lid that springs open when you tap one of the reaction buttons below it, sending the matching reaction emoji bouncing down through the jar. The bounce and pile-up are real Matter.js physics, so multiple emojis stack and jostle each other as you keep clicking. Motion drives the lid hinge and the spawning animation. It is a delightful drop-in for feedback widgets, end-of-article reaction bars, and empty states that want users to leave a mark.

Use cases: Reactions, Feedback, Empty state.

## Source

Install with the command above to get the source.

## Remix prompt

Only when the user wants Emoji Reaction Jar rebuilt from scratch instead of installed: its remix prompt is in the Remix panel at https://aicanvas.me/components/jar-of-emotions.

## Related

- [Sticker Wall](https://aicanvas.me/components/sticker-wall.md): A draggable sticker card wall. Drop notes, toss emoji, pile them up with real 2D physics.
- [Danger Stripes](https://aicanvas.me/components/danger-stripes.md): Three crossing caution-tape stripes on orange. Hover to shake, click to intensify.
- [Runway Loader](https://aicanvas.me/components/runway-loader.md): An airplane taxis down a runway progress bar, nose tilting up and taking off at 100%.
- [Agent Feedback Loop](https://aicanvas.me/components/agent-feedback-loop.md): An isometric widget of six AI agent stages in a loop. Hover or tap one to lift it apart.
- [Agent Cost Flow](https://aicanvas.me/components/agent-cost-flow.md): What one orchestrated agent run cost, drawn end to end: 178 source strands bundle into a spine, five subagent lanes read in parallel, and every band narrows from what that lane read to what it cost, so the small model that did the bulk reading lands as a sliver beside the expensive one that only judged.
