Library / SDK
alibaba-fusion/next avatar
alibaba-fusion/next

@alifd/next: Alibaba's React Component Library for Backend Systems

🦍 A configurable component library for web built on React.

4,681 stars596 forksTypeScriptMIT

At a glance

What is it?
Fusion Next is an enterprise component library aimed at keeping designers and frontend developers on the same page. The npm package is the easy part; the design tooling around it is where the project places its bets.
Who is it for?
Adopt @alifd/next if you are building an internal admin or backend console in React and want a component set whose visual layer can be swapped by a designer-published theme package. Do not adopt it if you need a library that is developed on a fast release cadence.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 9 days ago.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • alibaba-fusion/next4,681 ★ · +0
Star history
Repository2026-09-232026-11-22
alibaba-fusion/next4.7k4.7k

0 Stars in the last 60 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The problem Fusion Next was built to solve

Most component libraries answer one question: what does a button look like. Fusion Next answers a second one: who decides what the button looks like. The README frames the goal as settling problems around cooperation between designers and frontend developers, consistency of product experience, and development efficiency. The mechanism for that is a theme package. A designer customizes component UI on the Fusion design platform and publishes an npm theme package; the developer installs it and, in the README's words, does not need to care about the UI refactoring. That is a real organizational claim, not a styling claim. It only pays off if your team has a designer who will work inside Fusion's tooling. If your styling decisions are made in code review by engineers, the theme pipeline is dead weight and you are left with an ordinary React component set. The audience the README names is backend and admin systems, which fits: dense tables, forms, date pickers, and layouts that need to look the same across many internal pages maintained by different teams.

How the package is laid out and what it depends on

The package ships multiple build targets. package.json points main at index.js, module at es/index.js, and typings at types/index.d.ts, so bundlers that understand the module field get ES modules and TypeScript users get declarations without a separate install. Styles are exposed as several entry points rather than one: index.css, index-noreset.css, reset.css, variables.css, and the SCSS equivalents, plus components.scss and variables.scss. The distinction matters because index.css carries a reset and index-noreset.css does not. If you already load a global reset, importing index.css will fight it. The sideEffects array in package.json lists dist files, per-component style.js and style2.js files, and all .scss and .css files, which tells webpack that style imports must not be tree-shaken away. The README states the library is based on react@16 development and is currently not compatible with versions below react@16, and that moment is used for date-time components and is also a peer dependency the user must install. Both of those are things you install yourself.

Installing @alifd/next and rendering a first Button

The README recommends npm. Install the package and, because react and moment are peer dependencies, install those alongside it.

bash
npm install @alifd/next --save

The README states the library is built against react@16, so check what your project already has before installing it. Once installed, the simplest import pulls the full stylesheet and named components. The README gives this exact example.

js
import '@alifd/next/dist/next.css';
// import '@alifd/next/index.scss';

import { Button, Input } from '@alifd/next';

Importing the whole library this way is fine for a prototype and wasteful in production, because every component and its styles are in the bundle. For a real app the README recommends babel-plugin-import, configured in your webpack babel loader options or .babelrc. The README shows the plugin configuration in this shape.

js
{
    // ...
    plugins: [
        [
            'import',
            {
                libraryName: '@alifd/next',
                style: true,
            },
        ],
    ];
}

With that in place, a named import of Button is rewritten into a default import from @alifd/next/lib/button plus an import of '@alifd/next/lib/button/style', so only that component's code and CSS enter the bundle. If you are not using a bundler at all, the README documents a browser path: link next.css and load next.js from the @alifd/next/dist directory in the npm package or from unpkg, which exposes a global variable named Next. The README recommends specifying a version in the unpkg URL rather than taking the latest. Note that the JSX examples above are plain JavaScript, not TypeScript; the types ship in the types directory and the repository itself is written in TypeScript, but the README's import examples do not show typed usage.

Where Fusion Next is the wrong choice

The peer dependency on react@16 is the sharpest constraint. A team starting a new application today will most likely be on a newer React major, and the README does not claim compatibility with anything past the version it was built against. Nothing in the README describes a codemod, a migration guide to a newer React, or a plan to move off moment. Moment is the second constraint: it is a large date library that many teams have deliberately removed from their bundles, and here it is a peer dependency you must add because the date-time components are built on it. There is also the maintenance signal. The last push to the repository was on 2026-11-01, so the repository is not abandoned, but the release history is sparse: build/1.27.34 landed on 2026-03-31, build/1.27.33 on 2025-12-01, and build/1.27.32 on 2025-03-10. Three releases across roughly a year is a slow cadence for a UI library. If your project depends on rapid fixes for browser regressions, that rhythm is a risk you should weigh before adopting. Finally, the browser matrix in the README includes IE9 and above. Supporting IE9 in 2026 costs bundle size and forces older syntax, and if you do not need it you are paying for someone else's compatibility target.

How it differs from Ant Design and Material UI

The obvious comparison is Ant Design, another large React component library from a Chinese internet company with a similar component inventory and a similar enterprise-backend audience. The difference is where the design system lives. Ant Design's theming is primarily a code-level concern: you override design tokens and Less or CSS variables in your build. Fusion Next pushes that decision out of the repository and into a separate platform, where a designer produces a theme package that is published to npm and consumed as a dependency. That is a genuine architectural difference in who owns the visual layer, and it is the reason the README spends its opening paragraphs on designer-developer collaboration rather than on component counts. Material UI sits at the other end: it implements Google's Material specification, and its customization story is a theme object passed through a provider, again inside the codebase. If your organization has no designer working in Fusion's tooling, Fusion Next's central feature is inert and you are comparing it to Ant Design purely on component APIs, where the two are broadly similar. The repository also exposes an OpenSumi run badge, which points at a browser-based IDE for the repository itself; that is a contribution convenience, not a runtime feature.

Licence, contribution and the cost of staying current

The project is MIT licensed, both in the repository LICENSE file and in the license field of package.json, which permits commercial use and modification with the usual attribution requirement. This is not legal advice; read the LICENSE file for the actual terms. Upgrading is where the cost sits. The package publishes a single version line at 1.27.34, and the CHANGELOG.md and LATESTLOG.md files at the repository root are where the project records what changed between builds. Because styles are shipped as separate entry points and sideEffects is declared explicitly, an upgrade can change CSS without changing component APIs, so a visual regression check is worth more here than a type check. The repository includes a cypress directory and a cypress.config.ts, alongside TESTING.md, which indicates end-to-end tests are part of the project's own workflow. There is no stated deprecation policy in the README, and the README does not document rollback, so a team pinning a version should treat the pinned version as the contract. Contributing is documented: the README points at a Contributing page under site/en-us and offers a Gitpod environment for the repository.

Editorial conclusion

Adopt @alifd/next if you are building an internal admin or backend console in React and want a component set whose visual layer can be swapped by a designer-published theme package. Do not adopt it if you need a library that is developed on a fast release cadence. Before committing, verify that your React version and your moment dependency are acceptable, and check whether the theme workflow at fusion.design is something your team will actually use, because that workflow is the reason this library exists.

Frequently asked questions

How do I install @alifd/next?

The README recommends npm: run npm install @alifd/next --save. Because react and moment are declared as peer dependencies, you install those yourself as well. The README also documents a browser path using next.js and next.css from the @alifd/next/dist directory or from unpkg, which exposes a global variable named Next.

Which React version does @alifd/next require?

The README states the library is based on react@16 development and is currently not compatible with versions below react@16. React and react-dom are peer dependencies, so they must be installed or imported by the user rather than being pulled in automatically.

Does @alifd/next need moment as a dependency?

Yes. The README says the library uses moment to implement date-time related components, and that moment is also a peer dependency requiring manual install or import. It is not bundled as a regular dependency.

How do I import only one component from @alifd/next instead of the whole library?

The README recommends babel-plugin-import with libraryName set to '@alifd/next' and style set to true. That rewrites a named import such as Button into a default import from @alifd/next/lib/button plus an import of '@alifd/next/lib/button/style'. You can also import those two paths manually.

What licence does @alifd/next use?

The repository LICENSE file and the license field in package.json both state MIT. That permits commercial use and modification with the usual attribution requirement, though the actual terms are in the LICENSE file.

Official sources

  1. alibaba-fusion/next on GitHub
  2. License: MIT
  3. Project website
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/alibaba-fusion-next.svg)](https://hysenlabs.com/projects/alibaba-fusion-next)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/alibaba-fusion-next.svg)](https://hysenlabs.com/projects/alibaba-fusion-next)

Was this useful?