mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
An enterprise-class UI design language and React UI library
components | ||
docs | ||
scripts | ||
site | ||
spec | ||
style | ||
tests | ||
.editorconfig | ||
.eslintrc | ||
.gitignore | ||
.lesshintrc | ||
.si.yml | ||
.travis.yml | ||
404.html | ||
CHANGELOG.md | ||
CNAME | ||
index.js | ||
LICENSE | ||
nico.js | ||
package.json | ||
README-zh_CN.md | ||
README.md | ||
webpack.antd.config.js | ||
webpack.config.js | ||
webpack.deploy.config.js |
Ant Design
An enterprise-class UI design language and React-based implementation.
Features
- An enterprise-class graphical design language and framework for financial applications.
- Rich library of UI components base on React Component.
- A npm + webpack + babel workflow, supporting ES2015.
Install
npm install antd
Usage example
-
Use all components
import { DatePicker } from 'antd'; ReactDOM.render(<DatePicker />, mountNode);
-
Use on demand
import DatePicker from 'antd/lib/date-picker'; ReactDOM.render(<DatePicker />, mountNode);
Import style:
// only need to import once in entry module
import 'antd/lib/index.css';
// or less for modifyVars
import 'antd/style/index.less';
Browser Support
Normal browsers and Internet Explorer 8+.
Links
- Home page
- React UI library
- Build/Debug tools
- Roadmap
- ChangeLog
- React components
- React style guide
- React component design guide
- Developer Instruction
- Versioning Release Note
Contributing
We welcome all contributions, please submit any ideas as pull requests or as a GitHub issue.