# @brix-ui/contexts

> Package of some useful helper React contexts

Latest version **2.2.2** (published 2021-01-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install @brix-ui/contexts
pnpm add @brix-ui/contexts
yarn add @brix-ui/contexts
bun add @brix-ui/contexts
```

## 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 | 2.2.2 |
| Published | 2021-01-12 |
| First published | 2020-10-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=12 |
| Dependencies | 6 |
| Unpacked size | 12.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 57 |
| Author | uStudio Company |
| Maintainers | brix-ui |
| Keywords | react, typescript, library, contexts |

## Links

- npm: https://www.npmjs.com/package/@brix-ui/contexts
- Repository: https://github.com/uStudioTeam/brix-ui
- Homepage: https://github.com/uStudioTeam/brix-ui/blob/master/README.md
- npm.io page: https://npm.io/package/@brix-ui/contexts

## Dependencies (6)

- [prop-types](https://npm.io/package/prop-types.md) ^15.7.2
- [@brix-ui/hooks](https://npm.io/package/@brix-ui/hooks.md) ^2.2.2
- [@brix-ui/theme](https://npm.io/package/@brix-ui/theme.md) ^2.2.2
- [@brix-ui/types](https://npm.io/package/@brix-ui/types.md) ^2.2.2
- [@brix-ui/utils](https://npm.io/package/@brix-ui/utils.md) ^2.2.2
- [@brix-ui/prop-types](https://npm.io/package/@brix-ui/prop-types.md) ^2.2.2

## 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

- 2.2.2 (latest) — 2021-01-12
- 2.2.1 — 2021-01-11
- 2.2.0 — 2021-01-11
- 2.1.1 — 2021-01-08
- 2.1.0 — 2020-11-11
- 2.0.0 — 2020-11-05
- 2.0.0-rc.1 — 2020-10-28

## README

# @brix-ui/contexts

Package of some useful helper React contexts.

---

## Installation

```shell script
npm i @brix-ui/contexts # react react-dom
```

```shell script
yarn add @brix-ui/contexts # react react-dom
```

> Make sure to have `react` and `react-dom` installed in your package as they are included in our peer dependencies.

## Usage

Each context function in this package is exported by default along with its own hook:

```typescript jsx
import Modal, { useModal } from '@brix-ui/contexts/modal';
```

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