Material Design Ripple Effects
npm install @cmdjs/material-ripple-effectsmaterial-ripple-effects makes you able to have Material Design Ripple Effect on any element you want.
#### material-ripple-effects comes with two colors:
1. Light
2. Dark
1. Install the material-ripple-effects from npm or yarn or pnpm.
```
npm i @cmdjs/material-ripple-effects
yarn add @cmdjs/material-ripple-effects
pnpm add @cmdjs/material-ripple-effects
2. Import the material-ripple-effects in to your project.
``
import Ripple from '@cmdjs/material-ripple-effects';
3. use in React.
`
import React from "react";
import Ripple from '@cmdjs/material-ripple-effects';
export default function Button() {
const ripple = new Ripple();
return (
<>
>
);
}
`
4. use in Svelte.
`
``