Skip to content

knowankit/particle-text-effect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

particle-text-effect

Particle effect on text

NPM JavaScript Style Guide

Intro

Install

npm install particle-text-effect --save

If you prefer yarn then

yarn particle-text-effect

Props

Property Type Default Description
text string 'Dummy' Button text
type string 'bubbles' (bubbles, lines, fire, sunbeams, hearts, confetti)

Usage

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;

Info

This module was bootstrapped with build-react-npm.

License

MIT © Ankit Kumar

Support my OSS work by following me on twitter twitter