git404hub

what is formily fr?

alibaba/formily — explained in plain English

Analysis updated 2026-06-24

12,535TypeScriptAudience · developerComplexity · 3/5LicenseSetup · moderate

tl;dr

A high-performance React form library from Alibaba that keeps complex linked forms fast by isolating each field's state, and lets you build forms from a JSON description sent by a server. MIT licensed.

vibe map

mindmap
  root((Formily))
    Problem solved
      Slow linked forms
      Re-render isolation
    Key features
      JSON Schema forms
      Field-level state
    Integrations
      Ant Design
      Alibaba Fusion
    Audience
      React developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Build a complex React form where changing one field updates many others without the whole page slowing down.

VIBE 2

Have a backend API send a JSON Schema definition and let Formily render the correct form fields automatically without redeploying the frontend.

VIBE 3

Drop in Formily with Ant Design to get a production-ready form with built-in validation, state management, and fast rendering.

what's the stack?

TypeScriptReactAnt DesignAlibaba Fusion

how it stacks up fr

alibaba/formilyantvis/g2genlayerlabs/genlayer-project-boilerplate
Stars12,53512,55012,551
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderateeasymoderate
Complexity3/52/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 30min

Requires an existing React project and a component library (Ant Design or Alibaba Fusion) paired with Formily.

Use freely for any purpose including commercial, keep the copyright notice.

in plain english

Formily is a form management library for React, built by Alibaba. It addresses a performance problem that commonly affects complex forms in web applications: when many form fields are linked together so that changing one field updates others, the standard React approach tends to re-render every field on every change, which can make the page sluggish. Formily solves this by giving each field its own isolated state, so only the fields that actually changed re-render. The library also supports defining form structure using JSON Schema, a standard format for describing data shapes. This lets a backend server send a description of a form over an API, and Formily will render the correct fields from that description. This is useful when forms need to change without redeploying the frontend application. Formily ships with ready-to-use integrations for two popular React component libraries used widely in Chinese tech companies: Ant Design and Alibaba Fusion. Version 2.0 is the current release and has its own documentation site. The library is open-source under the MIT license.

prompts (copy fr)

prompt 1
Using Formily with Ant Design, write a React form with three linked dropdowns where selecting a country updates the available city options.
prompt 2
Show me how to define a user registration form in JSON Schema and have Formily render it dynamically from an API response.
prompt 3
My Formily form re-renders slowly when a field changes. Walk me through how Formily's isolated field state solves this and how to configure it.

Frequently asked questions

what is formily fr?

A high-performance React form library from Alibaba that keeps complex linked forms fast by isolating each field's state, and lets you build forms from a JSON description sent by a server. MIT licensed.

What language is formily written in?

Mainly TypeScript. The stack also includes TypeScript, React, Ant Design.

What license does formily use?

Use freely for any purpose including commercial, keep the copyright notice.

How hard is formily to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is formily for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.