@pasmac/react-hamburger-button
Version:
A very Simple Animated React Hamburger Button
38 lines (29 loc) • 728 B
Markdown
# Installation
```bash
npm install -D @pasmac/react-hamburger-button
```
# Usage
```js
import {HamburgerButton, HamburgerButtonSVG} from "@pasmac/react-hamburger-button"
```
**You can use either of the two (HamburgerButton or HamburgerButtonSVG) with just two(2) properties namely: - "color" and "big"**
```js
export default function Home() {
return (
<HamburgerButton color="red" big/>
)
}
```
#### The above block will produce a big (80px X 80px) red hamburger button
___
<br />
<br />
```js
export default function Home() {
return (
<HamburgerButtonSVG color="blue" />
)
}
```
#### The above block will produce a moderate (50px x 50px) blue hamburger button
___