# @scalar/use-hooks

> Utility hooks for Scalar

Latest version **0.4.12** (published 2026-09-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @scalar/use-hooks
pnpm add @scalar/use-hooks
yarn add @scalar/use-hooks
bun add @scalar/use-hooks
```

## Health

**Score 70/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; popular repo.

Warnings: low downloads; no types; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.4.12 |
| Published | 2026-09-16 |
| First published | 2024-11-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | >=22 |
| Dependencies | 7 |
| Unpacked size | 36.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 16153 |
| Author | Scalar |
| Maintainers | cameronrohani, marclave, scalar_geoff, hwkr, hanspagel, amritk, scalar-machine |

## Links

- npm: https://www.npmjs.com/package/@scalar/use-hooks
- Repository: https://github.com/scalar/scalar
- Issues: https://github.com/scalar/scalar/issues/new/choose
- npm.io page: https://npm.io/package/@scalar/use-hooks

## Dependencies (7)

- [cva](https://npm.io/package/cva.md) 1.0.0-beta.4
- [vue](https://npm.io/package/vue.md) ^3.5.40
- [@vueuse/core](https://npm.io/package/@vueuse/core.md) 13.9.0
- [tailwind-merge](https://npm.io/package/tailwind-merge.md) 3.5.0
- [@scalar/helpers](https://npm.io/package/@scalar/helpers.md) 0.12.0
- [@scalar/use-toasts](https://npm.io/package/@scalar/use-toasts.md) 0.10.5
- [@scalar/validation](https://npm.io/package/@scalar/validation.md) 0.6.3

## Recent versions

- 0.4.12 (latest) — 2026-09-16
- 0.4.11 — 2026-09-07
- 0.4.10 — 2026-08-20
- 0.4.9 — 2026-07-16
- 0.4.8 — 2026-07-15
- 0.4.7 — 2026-06-17
- 0.4.6 — 2026-05-21
- 0.4.5 — 2026-05-14
- 0.4.3 — 2026-04-21
- 0.4.2 — 2026-04-03
- 0.4.1 — 2026-03-18
- 0.4.0 — 2026-03-04
- 0.3.7 — 2026-01-30
- 0.3.6 — 2026-01-14
- 0.3.5 — 2026-01-08
- … 58 more at https://npm.io/package/@scalar/use-hooks/versions

## README

# Scalar Use Hooks

A collection of utility hooks for Scalar.

---

Scalar is an open-source API platform for teams who want beautiful developer interfaces without vendor lock-in.

- **[API References](https://scalar.com/products/api-references/getting-started)** — Interactive API documentation from OpenAPI and AsyncAPI specs.
- **[Developer Docs](https://scalar.com/products/docs/getting-started)** — Write in Markdown/MDX, generate API references, sync with two-way Git.
- **[SDK Generator](https://scalar.com/products/sdk-generator/getting-started)** — Type-safe SDKs and CLIs in TypeScript, Python, Go, PHP, Java, and Ruby.
- **[API Client](https://scalar.com/products/api-client/getting-started)** — Open-source, offline-first Postman alternative built on OpenAPI.

20M+ monthly npm installs · 15,500+ GitHub stars · MIT licensed · [scalar.com](https://scalar.com)

---

## Installation

```bash
npm add @scalar/use-hooks
```

## Available Hooks

- [useClipboard](./src/useClipboard/README.md)
- [useColorMode](./src/useColorMode/README.md)

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