# rc-overflow

> Auto collapse box when overflow

Latest version **1.5.0** (published 2025-10-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install rc-overflow
pnpm add rc-overflow
yarn add rc-overflow
bun add rc-overflow
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.5.0 |
| Published | 2025-10-17 |
| First published | 2020-12-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 57.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 64 |
| Maintainers | afc163, zombiej, madccc |
| Keywords | react, react-component, react-overflow, overflow, antd, ant-design |

## Links

- npm: https://www.npmjs.com/package/rc-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-overflow

## Dependencies (4)

- [rc-util](https://npm.io/package/rc-util.md) ^5.37.0
- [classnames](https://npm.io/package/classnames.md) ^2.2.1
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.11.1
- [rc-resize-observer](https://npm.io/package/rc-resize-observer.md) ^1.0.0

## 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.5.0 (latest) — 2025-10-17
- 1.4.1 — 2025-01-08
- 1.4.0 — 2025-01-08
- 1.3.2 — 2023-08-31
- 1.3.1 — 2023-06-14
- 1.3.0 — 2023-03-22
- 1.3.0-alpha.1 — 2023-03-22
- 1.3.0-alpha.0 — 2023-03-22
- 1.2.8 — 2022-07-29
- 1.2.7 — 2022-07-28
- 1.2.6 — 2022-05-12
- 1.2.5 — 2022-04-21
- 1.2.4 — 2022-03-10
- 1.2.3 — 2022-02-11
- 1.2.2 — 2021-06-04
- … 27 more at https://npm.io/package/rc-overflow/versions

## README

# rc-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-overflow.svg?style=flat-square
[npm-url]: http://npmjs.org/package/rc-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-overflow.svg?style=flat-square
[download-url]: https://npmjs.org/package/rc-overflow
[bundlephobia-url]: https://bundlephobia.com/result?p=rc-overflow
[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/rc-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-overflow](https://nodei.co/npm/rc-overflow.png)](https://npmjs.org/package/rc-overflow)

## Usage

```ts
// TODO
```

## API

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

## Development

```
npm install
npm start
```

## License

rc-overflow is released under the MIT license.

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