New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-confetti-pro

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-confetti-pro

A customizable confetti animation for React.

latest
npmnpm
Version
1.1.5
Version published
Weekly downloads
6
Maintainers
0
Weekly downloads
 
Created
Source

React Confetti Pro

A customizable confetti animation for React. Easily add a fun and interactive confetti effect to your React applications.

React Confetti

Installation

You can install react-confetti-pro via npm or yarn:

npm install react-confetti-pro

or

yarn add react-confetti-pro

Usage

Import and use the Confetti component in your React application:

import { Confetti } from 'react-confetti-pro';

function App() {
  return (
    <Confetti
      particleCount={150}
      duration={10000}
      direction={'center'}
    />
  );
}

export default App;

Props

PropTypeDefaultDescription
particleCountnumber100Number of confetti particles.
durationnumber5000Duration of the confetti effect in milliseconds.
directionstring'center'Direction of the confetti ('left', 'right', 'center').

License

This project is licensed under the ISC License.

Keywords

react

FAQs

Package last updated on 02 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts