A customizable falling flowers animation
npm install fallingbash
npm install falling
`
`bash
yarn add falling
`
Usage
`jsx
flowerCount={50}
flowerImage="/custom-flower.png"
fallSpeed={-3}
spreadWidth={2000}
spreadHeight={2000}
colors={["#FF0000", "#00FF00", "#0000FF"]}
/>
`
Example
`jsx
//Nextjs - pages/index.js
"use client";
import React from "react";
import Falling from "falling";
const FallingDemo = () => {
return (
className="bg-purple-100"
style={{
backgroundColor: "#000",
width: "100%",
height: "100vh",
position: "relative",
overflow: "hidden",
}}
>