Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alibaba-fusion/next
đĻ A configurable component library for web built on React.
https://github.com/alibaba-fusion/next
component design-system fusion fusion-design next react ui
Last synced: 3 days ago
JSON representation
đĻ A configurable component library for web built on React.
- Host: GitHub
- URL: https://github.com/alibaba-fusion/next
- Owner: alibaba-fusion
- License: mit
- Created: 2018-06-21T07:06:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-12T11:39:48.000Z (30 days ago)
- Last Synced: 2024-11-23T23:11:23.839Z (18 days ago)
- Topics: component, design-system, fusion, fusion-design, next, react, ui
- Language: TypeScript
- Homepage: https://fusion.design
- Size: 589 MB
- Stars: 4,591
- Watchers: 72
- Forks: 592
- Open Issues: 279
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome - alibaba-fusion/next - đĻ A configurable component library for web built on React. (TypeScript)
- awesome-github-star - next - fusion | 4464 | (JavaScript)
README
English | [įŽäŊä¸æ](./README.zh-cn.md)
An enterprise-class UI solution for backend system, aimed at settling the problems like cooperation between designers and front-developers, consistency of product experience and development efficiency.
---
You can customize your own DesignSystem via [Collaboration Platform](https://fusion.design).đ Designers will receive design materials by [Fusion Cool](https://fusion.design/tool?from=github) - an easy to use plugin on sketch. Developers will get code fragment on [IceWorks](https://fusion.design/tool?from=github). At the same time, the consistency between code and visual manuscript is guaranteed. đ
![howtouse](https://img.alicdn.com/tfs/TB1dF3BH4TpK1RjSZFMXXbG_VXa-1280-720.gif)
# đ¤ Why use
`@alifd/next` usually used with [Fusion Design](https://fusion.design) to improving designer-developer collaboration and development efficiency. Designer can customize the UI of components and release an npm theme package. Developer can use this theme package directly, and don't need to care about the UI refactoring. It saves the workload of reductive degree review repeatedly with designers, and greatly improves the development efficiency.
![](https://img.alicdn.com/tfs/TB1gia.HkvoK1RjSZFDXXXY3pXa-1286-490.png)
# đģ Browser Compatibility
| ![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/master/src/opera/opera_48x48.png) | ![UC](https://raw.github.com/alrra/browser-logos/master/src/uc/uc_48x48.png) |
| :--------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------: | :--------------------------------------------------------------------------: |
| â | â | â | 9+ â | â | â | â |# đ Quick Start
## đ Install
### 1.Use NPM ( Recommend )
```
npm install @alifd/next --save
```### 2.Import in Browser
Use the script and link tags in the browser to directly import the file and use the global variable Next. We provide files such as next.js/next.min.js and next.css/next.min.css in the `@alifd/next/dist` directory in the npm package, or via [unpkg](https://unpkg.com/@alifd/next/dist/) Download it.
```html
// The above ways import latest @alifd/next, we recommend you specify version.
// Or import as your own static resource
```
## âī¸ Dependencies
- `@alifd/next` is based on `react@16` development and is currently not compatible with versions below `react@16`. react/react-dom is used as peerDependencies, which requires the user to manually install or import it.
- `@alifd/next` use [moment](https://github.com/moment/moment) library to implement date-time related component. moment is also used as peerDependencies, which requires the user to manually install or import it.## đ¯ Import
### Import All
```js
import '@alifd/next/dist/next.css';
// import '@alifd/next/index.scss';import { Button, Input } from '@alifd/next';
```### Import module with plugin
#### 1. Import module manually
```js
import Button from '@alifd/next/lib/button';
import '@alifd/next/lib/button/style';
```#### 2. Use with [babel-plugin-import](https://github.com/ant-design/babel-plugin-import) ( Recommend )
```js
// webpack babel loader option or .babelrc
{
// ...
plugins: [
[
'import',
{
libraryName: '@alifd/next',
style: true,
},
],
];
}
```It will transform code as below
```js
import { Button } from '@alifd/next';
```To
```js
import Button from '@alifd/next/lib/button';
import '@alifd/next/lib/button/style';
```## đ Advanced
- [Use with Theme Package](./site/en-us/theme.md)
- [Internationalization](./site/en-us/i18n.md)
- [Deploy Font File](./site/en-us/font-deploy.md)## đ Contributing
Use Gitpod, a free online dev environment for GitHub.
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/alibaba-fusion/next)
Or clone locally:
- [Contributing](./site/en-us/contributing.md)
## đŖ Join Group
Use [Dingtalk App](https://www.dingtalk.com/en) scan the Qrcode to join in _Dingtalk Group_ :