• Stars
    star
    150
  • Rank 239,742 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

a collection of explosion animations made in SVG and GSAP

React-explode

React Explode is a collection of explosion animations made in SVG and GSAP. See a demo

Installation

npm install react-explode or yarn add react-explode

Usage

import React, { Component } from "react";
import Explosion from "react-explode/Explosion1";

class ReactExplode extends Component {
  render() {
    return <Explosion size="400" delay={0} repeatDelay={0} repeat={5} />;
  }
}

Component API

Name Type Default Description
size string 400 The explosion size
delay number 0 How much time the explosion would wait before it starts
repeatDelay number 0 How much time the explosion would wait before it repeats
repeat number 0 How many times the explosion repeats
color string white The explosion color(Explosions: 1, 2, 3, 4, 5, 6, 7, 8)
style object undefined The style passed to SVG element
onComplete func undefined Fired when the explosion completes
onRepeat func undefined Fired when the explosion repeats
onStart func undefined Fired when the explosion starts

Where to use react-explode

There are bunch of use case where you can use the explosions:

  • loading indicators.
  • infinite loop in the background.
  • explode at the end of an operation.
  • explode on user actions like mouse clicks.

License

react-explode is under the MIT license.

More Repositories

1

react-titles

A collection of components helps animate your titles
JavaScript
39
star
2

react-parallax-3d

React-parallax-3d provides the ability to show a 3d parallax effect on the given image
JavaScript
35
star
3

art

@Bigfan/art is a React custom renderer for HTML5 Canvas.
JavaScript
29
star
4

spider-web

A spider web affected by gravity
JavaScript
20
star
5

modal

an animated modern react modal
JavaScript
18
star
6

super-heroes-app

This is a web app was developed with React
JavaScript
4
star
7

creating-a-movie-app-angularJS

Creating a large-scale application using Angular 1 as the application structure.
JavaScript
4
star
8

react-menu

A beautiful sexy menu that uses react-motion for spring motion and pure CSS for transition.
JavaScript
2
star
9

react-titles-demo

a demo for react-titles
JavaScript
2
star
10

creating-a-socket.io-game

Creating A Spot Differences Game using Socket.io
JavaScript
2
star
11

creating-a-movie-app-using-backbone.js

Creating a large-scale application using BackboneJS as the application structure.
JavaScript
2
star
12

date-diff

JavaScript
1
star
13

MVVMJSApp

Manually implementing MVVM design pattern in JavaScript.
JavaScript
1
star
14

json-gui

a JSON graphical user interface build with React
JavaScript
1
star
15

StopWatch

creating a stop watch using an AngularJS costum directives.
JavaScript
1
star
16

react-parallax-3d-demo

A demo for react-parallax-3d
JavaScript
1
star
17

bigfanjs

1
star
18

modal-docs

JavaScript
1
star
19

Coding-challenge-dashboard

This App Converts the Design into Html and CSS
JavaScript
1
star
20

MVCJSApp

Manually implementing MVC design pattern in JavaScript.
JavaScript
1
star
21

MyFirstApp

This is the application I have built when I was learning JavaScript, I know the code is poor, but it's pretty cool, right?
JavaScript
1
star
22

facebook-powered_app_server

A repository for the server-side code of a facebook-powered app.
JavaScript
1
star
23

home-made-client

JavaScript
1
star
24

HTML5_canvas_MVC

Implementing the MVC design pattern in an HTML5 canvas audio player exemple.
JavaScript
1
star
25

react-explode-demo

A demo for react explode
JavaScript
1
star
26

MVPJSApp

Manually implementing MVP design pattern in JavaScript.
JavaScript
1
star
27

movie-app

A movie app powered with React.js
JavaScript
1
star
28

automation-with-gulp.js

A simple automation workflow use Gulp.js
JavaScript
1
star
29

home-made-server

JavaScript
1
star
30

facebook-powered_app_client

A repository for the client-side code of a facebook-powered app.
JavaScript
1
star
31

jquery-menu

In this stupid repository I'm going to try to write the whole same applicaion in both jQuery and vanila JavaScript
JavaScript
1
star