# @headlessui/react

> A set of completely unstyled, fully accessible UI components for React, designed to integrate beautifully with Tailwind CSS.

Latest version **2.2.10** (published 2026-04-07) · MIT license · 0 weekly downloads

## Install

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

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.2.10 |
| Published | 2026-04-07 |
| First published | 2020-09-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 5 |
| Unpacked size | 994 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 28741 |
| Maintainers | reinink, adamwathan, malfaitrobin |

## Links

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

## Dependencies (5)

- [@react-aria/focus](https://npm.io/package/@react-aria/focus.md) ^3.20.2
- [@floating-ui/react](https://npm.io/package/@floating-ui/react.md) ^0.26.16
- [@tanstack/react-virtual](https://npm.io/package/@tanstack/react-virtual.md) ^3.13.9
- [use-sync-external-store](https://npm.io/package/use-sync-external-store.md) ^1.5.0
- [@react-aria/interactions](https://npm.io/package/@react-aria/interactions.md) ^3.25.0

## Recent versions

- 2.2.10 (latest) — 2026-04-07
- 0.0.0-insiders.eea57cf (insiders) — 2026-04-13
- 2.0.0-alpha.4 (alpha) — 2024-01-03
- 0.0.0-insiders.1f77ecb — 2026-04-13
- 0.0.0-insiders.d13526d — 2026-04-07
- 0.0.0-insiders.b0dcd8f — 2026-04-07
- 0.0.0-insiders.7baca70 — 2025-12-04
- 0.0.0-insiders.5ef7395 — 2025-11-27
- 2.2.9 — 2025-09-25
- 0.0.0-insiders.589ea90 — 2025-09-25
- 0.0.0-insiders.ca536ed — 2025-09-25
- 0.0.0-insiders.2a647a7 — 2025-09-25
- 0.0.0-insiders.da2fa94 — 2025-09-25
- 0.0.0-insiders.6b5709a — 2025-09-19
- 0.0.0-insiders.433b174 — 2025-09-18
- … 804 more at https://npm.io/package/@headlessui/react/versions

## README

<h3 align="center">
  @headlessui/react
</h3>

<p align="center">
  A set of completely unstyled, fully accessible UI components for React, designed to integrate
  beautifully with Tailwind CSS.
</p>

<p align="center">
  <a href="https://www.npmjs.com/package/@headlessui/react"><img src="https://img.shields.io/npm/dt/@headlessui/react.svg" alt="Total Downloads"></a>
  <a href="https://github.com/tailwindlabs/headlessui/releases"><img src="https://img.shields.io/npm/v/@headlessui/react.svg" alt="Latest Release"></a>
  <a href="https://github.com/tailwindlabs/headlessui/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/@headlessui/react.svg" alt="License"></a>
</p>

## Installation

```sh
npm install @headlessui/react
```

## Documentation

For full documentation, visit [headlessui.dev](https://headlessui.dev/react/menu).

## Community

For help, discussion about best practices, or feature ideas:

[Discuss Headless UI on GitHub](https://github.com/tailwindlabs/headlessui/discussions)

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