Sourcemap Explorer
Stack · npm package

antd

An enterprise-class UI design language and React components implementation

latest 6.3.7· MIT· 926 versions publishedView on npm

About

An enterprise-class UI design language and React components implementation

antcomponentcomponentsdesignframeworkfrontendreactreact-componentui

Live mirror of the GitHub README. Updated whenever the repo's default branch changes.

Ant Design

An enterprise-class UI design language and React UI library.

CI status codecov NPM version NPM downloads

Follow Twitter dumi FOSSA Status Issues need help LFX Active Contributors

Changelog · Report Bug · Request Feature · English · 中文

❤️ Sponsors

YouMindTRACTIANLobeHub

✨ Features

  • 🌈 Enterprise-class UI designed for web applications.
  • 📦 A set of high-quality React components out of the box.
  • 🛡 Written in TypeScript with predictable static types.
  • ⚙️ Whole package of design resources and development tools.
  • 🌍 Internationalization support for dozens of languages.
  • 🎨 Powerful theme customization based on CSS-in-JS.

🖥 Environment Support

  • Modern browsers
  • Server-side Rendering
  • Electron
Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Electron
Electron
Edgelast 2 versionslast 2 versionslast 2 versionslast 2 versions

📦 Install

npm install antd
yarn add antd
pnpm add antd
bun add antd

🔨 Usage

import { Button, DatePicker } from 'antd';

export default () => (
  <>
    <Button type="primary">PRESS ME</Button>
    <DatePicker placeholder="select date" />
  </>
);

🔗 Links

⌨️ Development

Use opensumi.run, a free online pure front-end dev environment.

opensumi.run

Or clone locally:

$ git clone git@github.com:ant-design/ant-design.git
$ cd ant-design
$ npm install
$ npm start

Open your browser and visit http://127.0.0.1:8001, see more at Development.

🤝 Contributing PRs Welcome

Contribution Leaderboard

Let's build a better antd together.

We warmly invite contributions from everyone. Before you get started, please take a moment to review our Contribution Guide. Feel free to share your ideas through Pull Requests or GitHub Issues. If you're interested in enhancing our codebase, explore the Development Instructions and enjoy your coding journey! :)

For collaborators, adhere to our Pull Request Principle and utilize our Pull Request Template when creating a Pull Request.

Issue funding

We use Issuehunt to up-vote and promote specific features that you would like to see and implement. Check our backlog and help us:

Let's fund issues in this repository

❤️ Backers

Quick facts

Latest version6.3.7
LicenseMIT
Homepageant.design
Installnpm install antd
Direct dependencies48
Peer dependenciesreact, react-dom

This package powers Ant Design

The antd package is the canonical implementation of Ant Design. Sourcemap Explorer uses this exact npm package as the framework-level fingerprint when it flags Ant Design on a page — both via the bundled node_modules/antd/ source paths and via the embedded package.json inside the JavaScript sourcemap.

Common pairings

Packages this one expects to find in the same project. Each is also a Sourcemap Explorer detection target.

How Sourcemap Explorer detects antd

We catch antd from two complementary signals: bundled source paths and the embedded package.json. Modern bundlers (webpack, Vite, esbuild, Rollup, Turbopack) preserve the original node_modules/antd/ paths inside the JavaScript sourcemap's sources[] array — that's the canonical signal. When the matching package.json is also captured in sourcesContent[], we read the exact version field — patch number included. No regex guessing, no version inference.

  1. 1

    Confirm the site exposes sourcemaps

    In DevTools Network, check the response headers of any application script for `SourceMap` or `X-SourceMap`. Failing that, fetch the script's last 4 KB and look for a `//# sourceMappingURL=` comment.

  2. 2

    Find the package in the bundle

    Open DevTools → Network → reload. Click any application script and look at its sourcemap. Inside, search `sources[]` for entries matching `node_modules/antd/` — every match confirms the package is bundled. The matching `sourcesContent[i]` for `node_modules/antd/package.json` gives you the exact installed version.

  3. 3

    Read the version directly from package.json

    Run `jq -r '. as $m | $m.sources | to_entries[] | select(.value | endswith("node_modules/antd/package.json")) | $m.sourcesContent[.key] | fromjson | .version' bundle.js.map`. Sourcemap Explorer automates the same query in the popup.

Recent versions

Version
Released
0.0.1
0.7.0
0.7.1
0.7.2
0.7.3
0.8.0
0.9.0
0.9.1

FAQ

What is antd used for?

An enterprise-class UI design language and React components implementation

How can I tell if a website is using antd?

Open the page in Chrome with the Sourcemap Explorer extension installed and read the Stack tab. We catch `antd` from two complementary signals: `node_modules/antd/` paths inside the JavaScript sourcemap, and the embedded `package.json` we read for exact-version detection. Without the extension you can do the same lookup manually in DevTools — the steps are listed in the "How Sourcemap Explorer detects" section above.

What is the latest version of antd?

6.3.7, as published on the npm registry. The "Recent versions" table on this page lists the most recent 8 releases with their release dates. Sourcemap Explorer reports the version actually bundled into a site, which can lag the latest release by months on real-world deployments.

What is the relationship between antd and Ant Design?

antd is the canonical npm package for Ant Design. Sourcemap Explorer treats finding `antd` in a bundle as the framework-level signal that Ant Design is on the page, and the page you're reading is the canonical Sourcemap Explorer entry for the package itself.

Where can I read more?

Project homepage: https://ant.design. Source code: https://github.com/ant-design/ant-design. Published on npm: https://www.npmjs.com/package/antd. Licensed as MIT.

Keep reading on Sourcemap Explorer

Detected by Sourcemap Explorer

When a bundle ships sourcemaps, we read the embedded package.json for antd and report the precise version. Without sourcemaps, an import / require in the page's scripts is enough to flag it.

Install free on Chrome