An enterprise-class UI design language and React UI library
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
KumJungMin 84ee56f708
docs: add needConfirm option on time-picker docs (#48945)
* docs: add needConfirm option on time-picker docs

* docs: add onchange event to catch time changed

* docs: change file name to kebab case

* test: add test snapshot

* docs: delete needConfirm true demo in datePicker

* docs: add needConfirm true in demo

* test: delete old need confirm snapshot

* docs: update need-confirm snapshot

* test: update test snapshot
5 hours ago
.codesandbox ci: codesandbox install with npm (#46341) 5 months ago
.dumi docs: fix wrong brightness value in Palette Generation Tool (#48973) 24 hours ago
.github ci: fix build failure notice (#48916) 5 days ago
.husky
alias chore: umd version will try to reuse global `@ant-design/cssinjs` first (#46009) 6 months ago
components docs: add needConfirm option on time-picker docs (#48945) 5 hours ago
docs docs: add farm with antd (#48923) 4 days ago
scripts docs(:): release 5.17.0 (#48743) 2 weeks ago
tests demo: update demo type `{ children: React.ReactNode }` => `React.PropsWithChildren` (#48771) 2 weeks ago
typings scripts(visual-regression): show target filename (#48444) 1 month ago
.antd-tools.config.js
.depslintrc.js
.dockerignore
.dumirc.ts chore: add meta build info to the website (#48834) 1 week ago
.editorconfig
.eslintignore
.eslintrc.js docs: format code (#48309) 1 month ago
.gitignore chore: build with upload (#48456) 1 month ago
.gitpod.yml
.jest.image.js test: Update image snapshot logic (#46529) 5 months ago
.jest.js test: Update image snapshot logic (#46529) 5 months ago
.jest.node.js test: Update image snapshot logic (#46529) 5 months ago
.jest.site.js
.ncurc.js chore: do not update @ant-design/cssinjs (#48222) 2 months ago
.npmignore
.npmrc chore: update pupperteer and sharp npmmirror (#44727) 8 months ago
.prettierignore docs: format code (#48309) 1 month ago
.prettierrc style: remove importOrderSeparation from prettier config (#44336) 9 months ago
.remarkrc.js chore(deps): update dependency remark-preset-lint-recommended to v7 (#48479) 1 month ago
.stylelintrc.js
.surgeignore
BUG_VERSIONS.json docs: 5.17.2 changelog (#48918) 5 days ago
CHANGELOG.en-US.md docs: 5.17.2 changelog (#48918) 5 days ago
CHANGELOG.zh-CN.md docs: 5.17.2 changelog (#48918) 5 days ago
CNAME
CODE_OF_CONDUCT.md
LICENSE
README-zh_CN.md docs: sync README-zh_CN (#48817) 2 weeks ago
README.md chore: Update README.md (#48806) 2 weeks ago
SECURITY.md
biome.json chore: migrate rome to biome (#44522) 9 months ago
contributors.json chore: update contributors.json (#48262) 2 months ago
index-style-only.js
index-with-locales.js
index.js
jest-puppeteer.config.js ci: make puppeteer works when reusing node_modules (#46107) 6 months ago
package.json test: Fix React 18.3 findDOMNode warning (#48958) 1 day ago
renovate.json
tsconfig-old-react.json docs: Support semantic preview (#47332) 3 months ago
tsconfig.json feat: tsconfig enable strict (#47998) 2 months ago
webpack.config.js chore: migrate to webpack@5 (#45926) 6 months ago

README.md

Ant Design

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

CI status codecov NPM version NPM downloads

FOSSA Status

Follow Twitter Renovate status dumi Issues need help

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

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
Edge last 2 versions last 2 versions last 2 versions last 2 versions

📦 Install

npm install antd
yarn add antd
pnpm add antd

🔨 Usage

import { Button, DatePicker } from 'antd';

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

⌨️ Development

Use Gitpod, a free online dev environment for GitHub.

Open in Gitpod

Or use opensumi.run, a free online pure front-end dev environemt.

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

Top Contributors of ant-design/ant-design - Last 28 days Performance Stats of ant-design/ant-design - Last 28 days
New participants of ant-design - past 28 days

Let's build a better antd together.

We warmly invite contributions from everyone. Before you get started, please take a moment to review our Contributing 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.

Let's fund issues in this repository

❤️ Sponsors and Backers