An open API service indexing awesome lists of open source software.

https://github.com/knowankit/react-bubbly-effect-button

🧼 Bubble animation effect on button
https://github.com/knowankit/react-bubbly-effect-button

button button-animation react-button reactjs

Last synced: 10 months ago
JSON representation

🧼 Bubble animation effect on button

Awesome Lists containing this project

README

          

# react-bubbly-effect-button
> Bubbling effect on buttons

[![NPM](https://img.shields.io/npm/v/react-bubbly-effect-button.svg)](https://www.npmjs.com/package/react-bubbly-effect-button) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
## Intro



## Install

```bash
npm install react-bubbly-effect-button --save
```

If you prefer yarn then

```bash
yarn react-bubbly-effect-button
```

## Props

| Property | Type | Default | Description
| ----------- | ----------- | ----------- | ----------- |
| text | string | 'Dummy | Button text |
| bgColor | string | #ff2e2e | Button and particle color |
| color | string | white | Button text color |
| onClick | func | null | Callback for on click for the button |

## Usage

Check out the [demo](https://knowankit.github.io/react-bubbly-effect-button/) to see in action

```jsx
import React from 'react'
import ReactBubblyEffectButton from "react-bubbly-effect-button";

const onClick = () => {
console.log('Clicked')
}

const BubblyButton = () => {
return
}

export default BubblyButton;
```

## Info

This module was bootstrapped with [build-react-npm](https://github.com/knowankit/build-react-npm).

## License

MIT © [Ankit Kumar](https://github.com/knowankit)

Support my OSS work by following me on twitter twitter