pop-emojis 0.0.11 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
# pop-emojis
|
|
2
|
-
|
|
1
|
+
# pop-emojis
|
|
3
2
|
A tiny, opinionated React component that creates smooth emoji pop animations on click — built on top of Framer Motion.
|
|
4
3
|
|
|
5
4
|
Perfect for reactions, likes, feedback buttons, and fun micro-interactions with **zero animation setup**.
|
|
6
5
|
|
|
7
6
|
---
|
|
8
7
|
|
|
9
|
-
##
|
|
8
|
+
## Features
|
|
10
9
|
|
|
11
10
|
- **One-line usage** — Add emoji pops in seconds
|
|
12
11
|
- **Built on Framer Motion** — Smooth, physics-based animations
|
|
13
12
|
- **Sensible defaults** — Works great out of the box
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
13
|
+
- **Zero boilerplate** — No animation code required
|
|
14
|
+
- **Fully typed** — Complete TypeScript support
|
|
15
|
+
- **React 17+** — Compatible with modern React
|
|
17
16
|
|
|
18
17
|
---
|
|
19
18
|
|
|
20
|
-
##
|
|
19
|
+
## Installation
|
|
21
20
|
|
|
22
21
|
```bash
|
|
23
22
|
npm install pop-emojis framer-motion
|
|
@@ -27,7 +26,7 @@ npm install pop-emojis framer-motion
|
|
|
27
26
|
|
|
28
27
|
---
|
|
29
28
|
|
|
30
|
-
##
|
|
29
|
+
## Usage
|
|
31
30
|
|
|
32
31
|
### Basic Example
|
|
33
32
|
|
|
@@ -42,6 +41,8 @@ export default function App() {
|
|
|
42
41
|
)
|
|
43
42
|
}
|
|
44
43
|
```
|
|
44
|
+
## Demo
|
|
45
|
+

|
|
45
46
|
|
|
46
47
|
**What happens?**
|
|
47
48
|
|
|
@@ -83,11 +84,9 @@ Yes, you can use Framer Motion directly.
|
|
|
83
84
|
|
|
84
85
|
This library exists to:
|
|
85
86
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
✅ **Keep animation logic out of your app** — Focus on features, not micro-interactions
|
|
87
|
+
**Remove repetitive animation code** — Don't write the same pop logic over and over
|
|
88
|
+
**Provide a ready-made reaction interaction** — Common UX pattern, pre-built
|
|
89
|
+
**Keep animation logic out of your app** — Focus on features, not micro-interactions
|
|
91
90
|
|
|
92
91
|
Think of it as a **pre-built micro-interaction**, not an animation engine.
|
|
93
92
|
|
|
@@ -97,4 +96,4 @@ Think of it as a **pre-built micro-interaction**, not an animation engine.
|
|
|
97
96
|
|
|
98
97
|
## 🤝 Contributing
|
|
99
98
|
|
|
100
|
-
Issues and pull requests are welcome! Feel free to open an issue if you find a bug or have a feature request.
|
|
99
|
+
Issues and pull requests are welcome! Feel free to open an issue if you find a bug or have a feature request.
|