like-effects
v1.0.8
Published
like effects web component
Downloads
7
Maintainers
Readme
📦 like-effects
Text and SVG icon effects preview.
🗒 Description
Button "Like"
or "Heart"
click effects.
Web component
.
✨ Features
- Text effects
- SVG icon effects
- Custom width and slots
- default checked
🔨 Installation
npm install like-effects --save
or
yarn add like-effects
Import
Install the component :
import 'like-effects'
or
require('like-effects')
DOM: <like-effects></like-effects>
🏗 Usage
default :
<like-effects></like-effects>
custom :
<like-effects width="40px" checked="true|false">
<span slot="unchecked" style="color: gray">
like
</span>
<span slot="checked" style="color: orange">
like
</span>
</like-effects>