Socket
Book a DemoInstallSign in
Socket

liquid-button

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

liquid-button

A Liquid button built with vanila JS and svg

latest
Source
npmnpm
Version
0.1.9
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Liquid button preview

Liquid Button

A Liquid effect button built uisng svg and vanila JS, NPM Repository

Tweet



Demo - https://rajesh-royal.github.io/liquid-button/build/

TO use the LIquid button in your project -

    • npm install liquid-button
    • Then Import liquid-button in your react project

    import LiquidButton from 'LiquidButton/src/LiquidButton' if generate error then copy the LiquidButton.js file from the node_moudle folder and paste inside your src folder and import as import LiquidButton from './LiquidButton'

    • use <LiquidButton class="your-class-name-here" name="FirstButton" background="black" firstcolor="#1e88e5" secondcolor="yellow" /> -------- put your desired colors -----

      You should have different class name each time you are using the component like -

      ReactDOM.render(<div> <LiquidButton class="liquid-button" name="FirstButton" background="black" firstcolor="#1e88e5" secondcolor="yellow" /> <LiquidButton class="liquid-button2" name="FirstButton" background="black" firstcolor="#1e88e5" secondcolor="yellow" /> </div>, document.getElementById('root'));

      see the above example it will show 2 buttons if you want to use more than your class name should be different each time.

      Now you can use more than one liquid-buttons on same page.

      Feel free to contribute on github - ( https://github.com/Rajesh-Royal/liquid-button )

This project was bootstrapped with Create React App.

License: MIT

Keywords

liquid-button

FAQs

Package last updated on 19 Sep 2020

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.