dd9070998a
* chore: fix typo ref: https://github.com/ant-design/ant-design/issues/49690 * chore: add demo * chore: update snapshots * chore: update |
||
---|---|---|
.dumi | ||
.github | ||
.husky | ||
alias | ||
components | ||
docs | ||
scripts | ||
tests | ||
typings | ||
.antd-tools.config.js | ||
.depslintrc.js | ||
.dockerignore | ||
.dumirc.ts | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.gitpod.yml | ||
.jest.image.js | ||
.jest.js | ||
.jest.node.js | ||
.jest.site.js | ||
.lintstagedrc.json | ||
.ncurc.js | ||
.npmignore | ||
.npmrc | ||
.prettierignore | ||
.prettierrc | ||
.remarkrc.js | ||
.surgeignore | ||
biome.json | ||
BUG_VERSIONS.json | ||
CHANGELOG.en-US.md | ||
CHANGELOG.zh-CN.md | ||
CNAME | ||
CODE_OF_CONDUCT.md | ||
contributors.json | ||
index-style-only.js | ||
index-with-locales.js | ||
index.js | ||
jest-puppeteer.config.js | ||
LICENSE | ||
mako.config.json | ||
package.json | ||
README-zh_CN.md | ||
README.md | ||
renovate.json | ||
SECURITY.md | ||
tsconfig-old-react.json | ||
tsconfig.json | ||
webpack.config.js |
Ant Design
An enterprise-class UI design language and React UI library.
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 |
Firefox |
Chrome |
Safari |
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" />
</>
);
🔗 Links
- Home page
- Components Overview
- Ant Design Pro
- Change Log
- rc-components
- Mobile UI
- Mini Program UI
- Ant Design Pro Components
- Ant Design Charts
- Ant Design Icons
- Ant Design Colors
- Landing Pages
- Motion
- Scaffold Market
- Developer Instruction
- Versioning Release Note
- FAQ
- CodeSandbox Template for bug reports
- Customize Theme
- How to Apply for Being A Collaborator
⌨️ Development
Use Gitpod, a free online dev environment for GitHub.
Or use opensumi.run, a free online pure front-end dev environemt.
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
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.