# @rc-component/overflow

> Auto collapse box when overflow

Latest version **1.0.1** (published 2026-04-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @rc-component/overflow
pnpm add @rc-component/overflow
yarn add @rc-component/overflow
bun add @rc-component/overflow
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2026-04-14 |
| First published | 2025-12-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 49.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 64 |
| Maintainers | zombiej, afc163, madccc, peachscript, chenshuai2144 |
| Keywords | react, react-component, react-overflow, overflow, antd, ant-design |

## Links

- npm: https://www.npmjs.com/package/@rc-component/overflow
- Repository: https://github.com/react-component/overflow
- Homepage: https://react-component.github.io/overflow
- Issues: http://github.com/react-component/overflow/issues
- npm.io page: https://npm.io/package/@rc-component/overflow

## Dependencies (4)

- [clsx](https://npm.io/package/clsx.md) ^2.1.1
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.11.1
- [@rc-component/util](https://npm.io/package/@rc-component/util.md) ^1.4.0
- [@rc-component/resize-observer](https://npm.io/package/@rc-component/resize-observer.md) ^1.0.1

## 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.0.1 (latest) — 2026-04-14
- 1.0.0 — 2025-12-04

## README

# @rc-component/overflow 🐾

[![NPM version][npm-image]][npm-url]
[![npm download][download-image]][download-url]
[![build status][github-actions-image]][github-actions-url]
[![Codecov][codecov-image]][codecov-url]
[![bundle size][bundlephobia-image]][bundlephobia-url]
[![dumi][dumi-image]][dumi-url]

[npm-image]: http://img.shields.io/npm/v/@rc-component/overflow.svg?style=flat-square
[npm-url]: http://npmjs.org/package/@rc-component/overflow
[github-actions-image]: https://github.com/react-component/overflow/workflows/CI/badge.svg
[github-actions-url]: https://github.com/react-component/overflow/actions
[codecov-image]: https://img.shields.io/codecov/c/github/react-component/overflow/master.svg?style=flat-square
[codecov-url]: https://codecov.io/gh/react-component/overflow/branch/master
[david-url]: https://david-dm.org/react-component/overflow
[david-image]: https://david-dm.org/react-component/overflow/status.svg?style=flat-square
[david-dev-url]: https://david-dm.org/react-component/overflow?type=dev
[david-dev-image]: https://david-dm.org/react-component/overflow/dev-status.svg?style=flat-square
[download-image]: https://img.shields.io/npm/dm/@rc-component/overflow.svg?style=flat-square
[download-url]: https://npmjs.org/package/@rc-component/overflow
[bundlephobia-url]: https://bundlephobia.com/result?p=@rc-component/overflow
[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@rc-component/overflow
[dumi-url]: https://github.com/umijs/dumi
[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square

Auto collapse box when overflow

## Live Demo

https://overflow-react-component.vercel.app/

## Install

[![@rc-component/overflow](https://nodei.co/npm/@rc-component/overflow.png)](https://npmjs.org/package/@rc-component/overflow)

## Usage

```ts
// TODO
```

## API

| Property | Type | Default | Description |
| -------- | ---- | ------- | ----------- |

## Development

```
npm install
npm start
```

## License

@rc-component/overflow is released under the MIT license.

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