You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Paul Damnhorns
b9d263c7b6
|
4 years ago | |
---|---|---|
.circleci | 4 years ago | |
.codesandbox | 5 years ago | |
.github | 4 years ago | |
components | 4 years ago | |
docs | 4 years ago | |
scripts | 4 years ago | |
site | 4 years ago | |
tests | 4 years ago | |
typings | 4 years ago | |
.antd-tools.config.js | 5 years ago | |
.depslintrc.js | 5 years ago | |
.dockerignore | 5 years ago | |
.editorconfig | 6 years ago | |
.eslintignore | 4 years ago | |
.eslintrc.js | 4 years ago | |
.gitignore | 4 years ago | |
.gitpod.yml | 6 years ago | |
.jest.image.js | 4 years ago | |
.jest.js | 4 years ago | |
.jest.node.js | 5 years ago | |
.jest.site.js | 5 years ago | |
.npmignore | 5 years ago | |
.prettierignore | 4 years ago | |
.prettierrc | 5 years ago | |
.remarkrc.js | 5 years ago | |
.stylelintrc.json | 6 years ago | |
.travis.yml | 5 years ago | |
AUTHORS.txt | 4 years ago | |
CHANGELOG.en-US.md | 4 years ago | |
CHANGELOG.zh-CN.md | 4 years ago | |
CNAME | 6 years ago | |
CODEOWNERS | 5 years ago | |
CODE_OF_CONDUCT.md | 5 years ago | |
Dockerfile.ui-test | 4 years ago | |
LICENSE | 6 years ago | |
README-pt_BR.md | 5 years ago | |
README-zh_CN.md | 4 years ago | |
README.md | 4 years ago | |
SECURITY.md | 4 years ago | |
azure-pipelines.yml | 4 years ago | |
crowdin.yml | 6 years ago | |
docker-compose.yml | 4 years ago | |
index-with-locales.js | 5 years ago | |
index.js | 4 years ago | |
lighthouserc.js | 5 years ago | |
package.json | 4 years ago | |
tsconfig.json | 5 years ago | |
webpack.config.js | 4 years ago |
README.md
Ant Design
✨ 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
IE / Edge |
Firefox |
Chrome |
Safari |
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.
🔗 Links
- Home page
- Components
- Ant Design Pro
- Ant Design Charts
- Change Log
- rc-components
- Mobile UI
- Ant Design Icons
- Ant Design Colors
- Ant Design Pro Layout
- Ant Design Pro Blocks
- Dark Theme
- Landing Pages
- Motion
- Scaffold Market
- Developer Instruction
- Versioning Release Note
- FAQ
- CodeSandbox Template for bug reports
- Awesome Ant Design
- Customize Theme
- How to Apply for Being A Collaborator
⌨️ Development
Use Gitpod, a free online dev environment for GitHub.
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
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.