# @ant-design/compatible

> Ant Design v3 to v4 compatible package

Latest version **5.1.5** (published 2026-06-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ant-design/compatible
pnpm add @ant-design/compatible
yarn add @ant-design/compatible
bun add @ant-design/compatible
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 5.1.5 |
| Published | 2026-06-16 |
| First published | 2019-08-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 9 |
| Unpacked size | 380.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 93 |
| Maintainers | afc163, zombiej, chenshuai2144, arvinxx, madccc |
| Keywords | antd, compatible |

## Links

- npm: https://www.npmjs.com/package/@ant-design/compatible
- Repository: https://github.com/ant-design/compatible
- Homepage: https://github.com/ant-design/compatible#readme
- Issues: https://github.com/ant-design/compatible/issues
- npm.io page: https://npm.io/package/@ant-design/compatible

## Dependencies (9)

- [dayjs](https://npm.io/package/dayjs.md) ^1.11.4
- [rc-form](https://npm.io/package/rc-form.md) ^2.4.12
- [rc-util](https://npm.io/package/rc-util.md) ^5.24.5
- [classnames](https://npm.io/package/classnames.md) ^2.2.6
- [rc-animate](https://npm.io/package/rc-animate.md) ^3.1.1
- [@ctrl/tinycolor](https://npm.io/package/@ctrl/tinycolor.md) ^3.6.1
- [lodash.camelcase](https://npm.io/package/lodash.camelcase.md) ^4.3.0
- [lodash.upperfirst](https://npm.io/package/lodash.upperfirst.md) ^4.3.1
- [@ant-design/cssinjs](https://npm.io/package/@ant-design/cssinjs.md) ^1.23.0

## Recent versions

- 5.1.5 (latest) — 2026-06-16
- 5.1.2 (v5-compatible-v4) — 2023-08-07
- 1.1.2 (v4-compatible-v3) — 2022-08-02
- 5.1.4 — 2025-01-07
- 5.1.3 — 2024-05-15
- 5.1.1 — 2022-11-28
- 5.1.0 — 2022-11-23
- 5.0.1 — 2022-11-22
- 5.0.0 — 2022-11-08
- 5.0.0-alpha.2 — 2022-10-27
- 5.0.0-alpha.1 — 2022-10-17
- 1.1.0 — 2021-11-25
- 1.0.8 — 2020-09-16
- 1.0.7 — 2020-09-16
- 1.0.6 — 2020-09-15
- … 17 more at https://npm.io/package/@ant-design/compatible/versions

## README

# Ant Design Compatible

[![NPM version](https://img.shields.io/npm/v/@ant-design/compatible.svg?style=flat)](https://npmjs.org/package/@ant-design/compatible)
[![NPM downloads](http://img.shields.io/npm/dm/@ant-design/compatible.svg?style=flat)](https://npmjs.org/package/@ant-design/compatible)
[![CircleCI](https://circleci.com/gh/ant-design/compatible.svg?style=svg)](https://circleci.com/gh/ant-design/compatible)

## Install

```bash
yarn add @ant-design/compatible@v5-compatible-v4
```

## Usage

Helps you to compatible different components between v4 and v5.

```diff
-- import { Button, Select, Dropdown } from 'antd';
++ import { Button, Select, Dropdown } from '@ant-design/compatible';
```

## FAQ

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