holi-splash
v1.0.1
Published
A React component that adds a Holi color splash effect on clicks 🎨
Maintainers
Readme
🎨 Holi Splash - A Festive Color Effect for React!
Holi Splash is a simple React component that adds a color splash effect when users click anywhere on the screen. Perfect for Holi celebrations or any fun, interactive website. 🌈✨
🚀 Demo
Live Demo (Add your demo link here)
📸 Screenshot

📦 Installation
You can install it via npm:
npm install holi-splash
🛠️ Usage
Simply import and use the HoliSplash component in your React project:
import React from "react";
import HoliSplash from "holi-splash";
function App() {
return (
<div>
<HoliSplash />
</div>
);
}
export default App;
🎨 Features
Color splashes appear on mouse clicks 🖱️
Beautiful animated effect 💫
Easy to integrate in any React website ⚛️
Customizable with colors, sizes, and animations 🎭
⚙️ Props (Customization)
Prop Type Default Description
colors array ["#FF3E4D", "#00C9A7", "#FFC93C", "#1B9CFC", "#D980FA"] Customize the splash colors
radius number 50 Set the splash radius
fadeSpeed number 500ms Adjust fade-out animation