react-fade-in-view 1.1.0 → 1.2.1
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 +7 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
# react-fade-in-view
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
react-fade-in-view is a lightweight **React fade-in animation library**
|
|
4
|
+
that triggers smooth **scroll-based animations** when elements enter the viewport
|
|
5
|
+
using the **Intersection Observer API**.
|
|
6
|
+
|
|
7
|
+
Ideal for **React & Next.js applications**, landing pages, portfolios,
|
|
8
|
+
blogs, and content-heavy websites that need performant viewport animations.
|
|
5
9
|
|
|
6
10
|
<!--  -->
|
|
7
11
|
|
|
@@ -38,6 +42,7 @@ yarn add react-fade-in-view
|
|
|
38
42
|
|
|
39
43
|
```tsx
|
|
40
44
|
import { FadeIn } from "react-fade-in-view";
|
|
45
|
+
import "react-fade-in-view/dist/index.css";
|
|
41
46
|
|
|
42
47
|
export default function App() {
|
|
43
48
|
return (
|