# react-hamburgers

> React component for Jonathan Suh's hamburguers

Latest version **1.0.0** (published 2017-05-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-hamburgers
pnpm add react-hamburgers
yarn add react-hamburgers
bun add react-hamburgers
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-05-23 |
| First published | 2017-05-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 24 |
| Author | Óscar Ferrándiz |
| Maintainers | oferrandiz |
| Keywords | react, hamburguers |

## Links

- npm: https://www.npmjs.com/package/react-hamburgers
- Repository: https://github.com/oscarferrandiz/react-hamburgers
- Homepage: https://github.com/oscarferrandiz/react-hamburgers#readme
- Issues: https://github.com/oscarferrandiz/react-hamburgers/issues
- npm.io page: https://npm.io/package/react-hamburgers

## Dependencies (3)

- [react](https://npm.io/package/react.md) ^15.5.4
- [classnames](https://npm.io/package/classnames.md) ^2.2.5
- [prop-types](https://npm.io/package/prop-types.md) ^15.5.10

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-05-23

## README

# react-hamburgers
React component for Jonathan Suh's hamburguers (https://jonsuh.com/hamburgers/)

Install this package with:
```
npm i -S react-hamburgers
```

Configure hamburgers following the oficial doc (https://github.com/jonsuh/hamburgers)

Use `react-hamburgers` component as follows:

```
import React from 'react';
import Hamburger from 'react-hamburgers';

export default class MyComponent extends React.Component() {

  constructor(props) {
    super(props);
    this.state = { active: false };
  }

  render() {
    return (
      <div>
        <Hamburger
          active={this.state.active}
          type="slider"
          onClick={() => this.setState({ active: !this.state.active })}
        >
      </div>
    );
  }
}
```

---
_Source: https://npm.io/package/react-hamburgers · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
