# reablocks

> Component library for React

Latest version **10.3.1** (published 2026-06-22) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install reablocks
pnpm add reablocks
yarn add reablocks
bun add reablocks
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 10.3.1 |
| Published | 2026-06-22 |
| First published | 2022-10-24 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.13.0 |
| Dependencies | 16 |
| Unpacked size | 3.8 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 187 |
| Maintainers | amcdnl |
| Keywords | react, reactjs, component library, ui components, tailwind, tailwind css, tailwind components, tailwind elements, tailwind library |

## Links

- npm: https://www.npmjs.com/package/reablocks
- Repository: https://github.com/reaviz/reablocks
- Homepage: https://github.com/reaviz/reablocks#readme
- Issues: https://github.com/reaviz/reablocks/issues
- npm.io page: https://npm.io/package/reablocks

## Dependencies (16)

- [motion](https://npm.io/package/motion.md) ^12.40.0
- [date-fns](https://npm.io/package/date-fns.md) ^4.4.0
- [chroma-js](https://npm.io/package/chroma-js.md) ^3.2.0
- [ctrl-keys](https://npm.io/package/ctrl-keys.md) ^1.0.6
- [ellipsize](https://npm.io/package/ellipsize.md) ^0.7.0
- [pluralize](https://npm.io/package/pluralize.md) ^8.0.0
- [classnames](https://npm.io/package/classnames.md) ^2.5.1
- [human-format](https://npm.io/package/human-format.md) ^1.2.1
- [name-initials](https://npm.io/package/name-initials.md) ^0.1.3
- [tailwind-merge](https://npm.io/package/tailwind-merge.md) ^3.6.0
- [focus-trap-react](https://npm.io/package/focus-trap-react.md) ^12.0.2
- [@floating-ui/react](https://npm.io/package/@floating-ui/react.md) ^0.27.19
- [react-fast-compare](https://npm.io/package/react-fast-compare.md) ^3.2.2
- [react-textarea-autosize](https://npm.io/package/react-textarea-autosize.md) ^8.5.9
- [body-scroll-lock-upgrade](https://npm.io/package/body-scroll-lock-upgrade.md) ^1.1.0
- [create-global-state-hook](https://npm.io/package/create-global-state-hook.md) ^0.0.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

- 10.3.1 (latest) — 2026-06-22
- 10.0.0-beta.5 (beta) — 2026-05-06
- 10.0.0-alpha.14 (alpha) — 2025-11-28
- 10.3.0 — 2026-06-09
- 10.2.0 — 2026-06-03
- 10.1.0 — 2026-06-02
- 10.0.3 — 2026-05-27
- 10.0.2 — 2026-05-25
- 10.0.1 — 2026-05-13
- 10.0.0 — 2026-05-07
- 10.0.0-beta.4 — 2026-05-05
- 10.0.0-beta.3 — 2026-05-05
- 10.0.0-beta.2 — 2026-04-09
- 10.0.0-beta.1 — 2026-03-17
- 10.0.0-alpha.15 — 2026-02-19
- … 283 more at https://npm.io/package/reablocks/versions

## README

<div align="center">
  <img width="650" src="docs/assets/logo-light.png">
  <br />
  50+ UI components for React based on Tailwind.
  <br /><br />
  <a href="https://github.com/reaviz/reablocks/actions/workflows/build.yml">
    <img src="https://github.com/reaviz/reablocks/actions/workflows/build.yml/badge.svg" />
  </a>
  &nbsp;
  <a href="https://npm.im/reablocks" target="_blank">
    <img src="https://img.shields.io/npm/v/reablocks.svg" />
  </a>&nbsp;
  <a href="https://npm.im/reablocks" target="_blank">
    <img src="https://badgen.net/npm/dw/reablocks" />
  </a>&nbsp;
  <a href="https://github.com/reaviz/reablocks/blob/master/LICENSE">
    <img src="https://badgen.now.sh/badge/license/apache2" />
  </a>&nbsp;
  <a href="https://github.com/reaviz/reablocks">
    <img alt="GitHub stars" src="https://img.shields.io/github/stars/reaviz/reablocks?style=social" />
  </a>&nbsp;
  <a href="https://discord.gg/tt8wGExq35" target="_blank">
    <img src="https://img.shields.io/discord/773948315037073409?label=discord" />
  </a>
</div>

---

## 🚀 Quick Links
- [Website](https://reablocks.dev)
- [Docs](https://reablocks.dev/docs)
- [Blocks](https://reablocks.dev/blocks)
- [Storybook](https://storybook.reablocks.dev)
- [CLI](https://github.com/reaviz/reablocks-cli)
- [Changelog](https://reablocks.dev/docs/changelog)

## 🎁 Other Projects

- [Reagraph](https://reagraph.dev?utm=reablocks) - Open-source library for large webgl based network graphs.
- [Reaviz](https://reaviz.dev?utm=reablocks) - Open-source library for data visualizations for React.
- [Reachat](https://reachat.dev?utm=reablocks) - Open-source library for building LLM/Chat UIs for React.
- [Reaflow](https://reaflow.dev?utm=reablocks) - Open-source library for workflow and diagram graphs.

## 🔭 Development

If you want to run reablocks locally, its super easy!

- Clone the repository
- `npm i`
- `npm start`
- Browser opens to Storybook page

## 🧪 Visual Regression Testing

This project uses [Playwright](https://playwright.dev/) to screenshot every Storybook story and catch unintended visual changes.

**Prerequisites:** Storybook must be running on `localhost:9009` (or Playwright will start it automatically).

```bash
# Run visual tests against existing baseline screenshots
npm run test:visual

# Update baseline screenshots (after intentional visual changes)
npm run test:visual:update
```

`test:visual:extract` runs automatically as part of both commands — it fetches the story list from Storybook so Playwright knows what to screenshot.

## ❤️ Contributors & Credits

Thanks to all our contributors!

<a href="https://github.com/reaviz/reaviz/graphs/contributors"><img src="https://opencollective.com/reaviz/contributors.svg?width=890" /></a>

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