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
einq7 69a5be7c40
docs: Update FAQ (#29210)
* docs: Modify FAQ

* Components don't need to use inline code

* Update anchors

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>

* Update more links

Co-authored-by: afc163 <afc163@gmail.com>
4 years ago
.codesandbox
.github ci: update verify package version 4 years ago
components style: make Table expand icon same size as checkbox (#29214) 4 years ago
docs docs: Update FAQ (#29210) 4 years ago
scripts chore: add changelog check script (#29198) 4 years ago
site docs: Fix mobile res missing 4 years ago
tests docs: add 4.12.0 changelog (#29131) 4 years ago
typings chore: replace omit (#28846) 4 years ago
.antd-tools.config.js
.depslintrc.js
.dockerignore
.editorconfig
.eslintignore test: should not ignore *.md 4 years ago
.eslintrc.js chore: upgrade @ant-design/tools (#28583) 4 years ago
.gitignore test: demo -> ui test (#24475) 4 years ago
.gitpod.yml
.jest.image.js increase timeout 4 years ago
.jest.js test: demo -> ui test (#24475) 4 years ago
.jest.node.js
.jest.site.js
.npmignore
.prettierignore docs: prettier markdown (#28510) 4 years ago
.prettierrc
.remarkrc.js
.stylelintrc.json fix: stylelint plugin (#28730) 4 years ago
AUTHORS.txt chore: update authors 4 years ago
CHANGELOG.en-US.md docs: 4.12.1 changelog (#29204) 4 years ago
CHANGELOG.zh-CN.md docs: 4.12.1 changelog (#29204) 4 years ago
CNAME
CODEOWNERS
CODE_OF_CONDUCT.md
Dockerfile.ui-test test: fix ui test base trigger (#27380) 4 years ago
LICENSE
README-pt_BR.md dos(🛡️ ): update test badge 4 years ago
README-zh_CN.md dos(🛡️ ): update test badge 4 years ago
README.md dos(🛡️ ): update test badge 4 years ago
SECURITY.md chore: add prettier ignore and format demo (#27270) 4 years ago
azure-pipelines.yml test: remove azure ui test and try test pr github action (#27458) 4 years ago
crowdin.yml
docker-compose.yml increase timeout 4 years ago
index-with-locales.js
index.js change function name correctly in index.js (#26850) 4 years ago
jest-puppeteer.config.js increase timeout 4 years ago
lighthouserc.js
package.json docs: 4.12.1 changelog (#29204) 4 years ago
tsconfig.json
webpack.config.js chore: use esbuild-loader (#28859) 4 years ago

README.md

Ant Design

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

CI status codecov NPM version NPM downloads

david deps david devDeps Total alerts

Follow Twitter FOSSA Status Discussions Issues need help

English | Português | 简体中文

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 in every detail.

🖥 Environment Support

  • Modern browsers and Internet Explorer 11 (with polyfills)
  • Server-side Rendering
  • Electron
IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Electron
Electron
IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions

📦 Install

npm install antd
yarn add antd

🔨 Usage

import { Button, DatePicker } from 'antd';

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

And import style manually:

import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'

TypeScript

antd is written in TypeScript with complete definitions, check Use in TypeScript to getting started.

🌍 Internationalization

Dozens of languages supported in antd, see i18n.

⌨️ Development

Use Gitpod, a free online dev environment for GitHub.

Open in Gitpod

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

Read our contributing guide and let's build a better antd together.

We welcome all contributions. Please read our CONTRIBUTING.md first. You can submit any ideas as pull requests or as GitHub issues. If you'd like to improve code, check out the Development Instructions and have a good time! :)

If you are a collaborator, please follow our Pull Request principle to create a Pull Request by collaborator template.

Let's fund issues in this repository

❤️ Sponsors and Backers