百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
N

next

> 前端框架
开源

基于 React 构建的可配置组件库,适用于 Web。

4.7K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

基于 React 构建的可配置组件库,适用于 Web。

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. # 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. # Browser Compatibility | | | | | | | | | :--------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------: | :--------------------------------------------------------------------------: | | ✔ | ✔ | ✔ | 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. 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_ :

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptcomponentdesign-systemfusionfusion-design

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架