Particle effect on text
npm install particle-text-effect --save
If you prefer yarn then
yarn particle-text-effect
Property | Type | Default | Description |
---|---|---|---|
text | string | 'Dummy' | Button text |
type | string | 'bubbles' | (bubbles, lines, fire, sunbeams, hearts, confetti) |
Check out the demo to see in action
import React from 'react'
import ParticleTextEffect from "particle-text-effect";
const ParticleText = () => {
return <ParticleTextEffect text="Click here" type="hearts" />
}
export default ParticleText;
This module was bootstrapped with build-react-npm.
MIT © Ankit Kumar
Support my OSS work by following me on twitter