# @zemble/react

> Kingstinct Hooks Utility Library

Latest version **1.0.21** (published 2026-08-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @zemble/react
pnpm add @zemble/react
yarn add @zemble/react
bun add @zemble/react
```

## Health

**Score 60/100 (C)** — status: active.

Positive: no vulnerabilities; has provenance; recently updated; high maintenance score.

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

## Facts

| | |
|---|---|
| Version | 1.0.21 |
| Published | 2026-08-19 |
| First published | 2024-02-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 44.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 15 |
| Author | Robert Herber |
| Maintainers | robertherber, ryaniguchi |

## Links

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

## Dependencies (1)

- [@zemble/primitives](https://npm.io/package/@zemble/primitives.md) 1.0.3

## Recent versions

- 1.0.21 (latest) — 2026-08-19
- 1.0.20 — 2025-07-15
- 1.0.19 — 2025-07-15
- 1.0.18 — 2025-07-07
- 1.0.17 — 2025-01-21
- 1.0.16 — 2025-01-21
- 1.0.15 — 2024-12-22
- 1.0.14 — 2024-03-15
- 1.0.13 — 2024-02-23
- 1.0.12 — 2024-02-06
- 1.0.11 — 2024-02-06
- 1.0.10 — 2024-02-05

## README

# @zemble/react

[![npm (scoped)](https://img.shields.io/npm/v/@zemble/react?style=for-the-badge)](https://www.npmjs.com/package/@zemble/react)

This is a utility library for React that we use across our projects at Kingstinct (still early days for this lib).

To import a utility the best is to import it directly:
`import useEvent from '@zemble/react/hooks/useEvent'`

You can also use named imports, but if you're not having all dependencies installed you'll probably run into errors:
`import { useEvent } from '@zemble/react'`

The goal of this library (and the related [@zemble/utils](https://github.com/Kingstinct/zemble)) is to:
- Keep the number of dependencies in projects down
- Have a common place to put useful utilities, so they're easier to maintain and find
- Quickly get up and running with new projects

We believe this is a better approach than the alternatives:
- Using one single utility library for everything, which would introduce unnecessary dependencies
- Using lots of micro-libs. Micro-libs does have it's advantages, but is harder to maintain and means loosing oversight of the dependencies in a project.
- Copy pasting between projects :)
 
# Storybooks and Expo
Currently the Storybooks implementation works for web and the example-app works with Expo for mobile.

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