1.0.1 ⢠Published 4 months ago
holi-splash v1.0.1
šØ 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