like-effects

1.0.8 • Public • Published

📦 like-effects

License

Text and SVG icon effects preview.

avatar avatar


🗒 Description

Button "Like" or "Heart" click effects.
Web component.


✨ Features

  1. Text effects
  2. SVG icon effects
  3. Custom width and slots
  4. 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>

Package Sidebar

Install

npm i like-effects

Weekly Downloads

0

Version

1.0.8

License

ISC

Unpacked Size

28.2 kB

Total Files

5

Last publish

Collaborators

  • kwange