# @hashicorp/react-toggle

> a simple toggle

Latest version **5.1.1** (published 2024-06-20) · MPL-2.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @hashicorp/react-toggle
pnpm add @hashicorp/react-toggle
yarn add @hashicorp/react-toggle
bun add @hashicorp/react-toggle
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 5.1.1 |
| Published | 2024-06-20 |
| First published | 2019-09-04 |
| Weekly downloads | 0 |
| License | MPL-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 23.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | HashiCorp |

## Links

- npm: https://www.npmjs.com/package/@hashicorp/react-toggle
- Repository: https://github.com/hashicorp/react-components
- Homepage: https://github.com/hashicorp/react-components#readme
- Issues: https://github.com/hashicorp/react-components/issues
- npm.io page: https://npm.io/package/@hashicorp/react-toggle

## Dependencies (1)

- [classnames](https://npm.io/package/classnames.md) ^2.3.1

## Recent versions

- 5.1.1 (latest) — 2024-06-20
- 5.1.0-canary-20221207174238 (canary) — 2022-12-07
- 5.1.0 — 2022-12-08
- 5.1.0-canary-20221207172220 — 2022-12-07
- 5.1.0-canary-20221206235338 — 2022-12-06
- 5.1.0-canary-20221206230744 — 2022-12-06
- 5.1.0-canary-20221206221302 — 2022-12-06
- 5.1.0-canary-20221206184427 — 2022-12-06
- 5.1.0-canary-20221206165042 — 2022-12-06
- 5.1.0-canary-20221206012731 — 2022-12-06
- 5.1.0-canary-20221205223134 — 2022-12-05
- 5.0.0 — 2022-07-29
- 5.0.0-canary-20220729160217 — 2022-07-29
- 4.1.0-canary-20220729152050 — 2022-07-29
- 4.1.0-canary-20220719144617 — 2022-07-19
- … 18 more at https://npm.io/package/@hashicorp/react-toggle/versions

## README

# Toggle

A simple toggle component.

### Props

- `enabled` (boolean) - State of toggle

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