# @acrool/react-hooks

> Common javascript utils methods for project development

Latest version **1.1.3** (published 2025-07-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @acrool/react-hooks
pnpm add @acrool/react-hooks
yarn add @acrool/react-hooks
bun add @acrool/react-hooks
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

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

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.3 |
| Published | 2025-07-20 |
| First published | 2024-06-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=14 |
| Dependencies | 0 |
| Unpacked size | 36.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Maintainers | imagine10255 |
| Keywords | acrool, react, typescript, hooks, portal |

## Links

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

## 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.1.3 (latest) — 2025-07-20
- 0.0.5-alpha.2 (alpha) — 2024-07-27
- 1.1.2 — 2025-05-10
- 1.1.2-alpha.0 — 2025-05-10
- 1.1.1 — 2025-04-21
- 1.1.0 — 2025-04-21
- 1.0.4-alpha.5 — 2025-04-21
- 1.0.4-alpha.4 — 2025-01-17
- 1.0.4-alpha.3 — 2025-01-17
- 1.0.4-alpha.1 — 2025-01-17
- 1.0.4-alpha.0 — 2024-11-03
- 1.0.3 — 2024-10-31
- 1.0.3-alpha.1 — 2024-10-31
- 1.0.3-alpha.0 — 2024-10-31
- 1.0.2 — 2024-10-31
- … 30 more at https://npm.io/package/@acrool/react-hooks/versions

## README

# Acrool React Hooks

<a href="https://acrool-react-hooks.pages.dev/" title="Acrool React Hooks - This is a toast message function for React development notifications">
    <img src="https://raw.githubusercontent.com/acrool/acrool-react-hooks/main/example/public/og.webp" alt="Acrool React Hooks Logo"/>
</a>

<p align="center">
    This is a commonly used React hooks toolbox, designed to facilitate rapid daily development.
</p>

<div align="center">

[![NPM](https://img.shields.io/npm/v/@acrool/react-hooks.svg?style=for-the-badge)](https://www.npmjs.com/package/@acrool/react-hooks)
[![npm](https://img.shields.io/bundlejs/size/@acrool/react-hooks?style=for-the-badge)](https://github.com/acrool/@acrool/react-hooks/blob/main/LICENSE)
[![npm](https://img.shields.io/npm/l/@acrool/react-hooks?style=for-the-badge)](https://github.com/acrool/react-hooks/blob/main/LICENSE)

[![npm downloads](https://img.shields.io/npm/dm/@acrool/react-hooks.svg?style=for-the-badge)](https://www.npmjs.com/package/@acrool/react-hooks)
[![npm](https://img.shields.io/npm/dt/@acrool/react-hooks.svg?style=for-the-badge)](https://www.npmjs.com/package/@acrool/react-hooks)

</div>

`^1.1.1 support react >=18.0.0 <20.0.0`


## Features

- **[Base](/src/base)** - All relatively basic Hook methods.
- **[Input](/src/input)** - Related to input controls.
- **[Position](/src/position)** - Related to position control.
- **[Time](/src/time)** - Time-related (e.g. timer).
- **[Hover](/src/hover)** - Related to hover control.


## Install

```bash
yarn add @acrool/react-hooks
```

## Examples

These are examples of imports for various types. Refer to the documentation inside each library for other methods.

```tsx
import {useTextFieldFocus} from '@acrool/react-hooks/input';
import {useClickOutSite} from '@acrool/react-hooks/position';
import {useCountDownTimer} from '@acrool/react-hooks/time';
import {useCountUpTimer} from '@acrool/react-hooks/time';

```

## License

MIT © [Acrool](https://github.com/acrool) & [Imagine](https://github.com/imagine10255)

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