TiloBox
Back to directory
Formily project preview

Formily

Alibaba’s cross-framework, reactive form solution for complex enterprise applications.

LicenseMIT
GitHub stars10.5k
Last commit1 weeks ago
Tags6 topics
ReactiveEnterpriseVueReactJson SchemaForms
Overview

Why consider Formily?

Formily is an enterprise-grade, reactive form architecture solution by Alibaba. It handles massive complex schemas, dynamic link calculations, and custom field component lifecycles in React and Vue.

Guided learning

Learn Formily by building

Practical setup notes, real use cases, and copy-ready examples in one focused guide.

1 min read 2 sections
In this guide2 sections

Overview of Formily

Formily separates form domain logic from the presentation layer using reactive state kernels. It excels at multi-level nested tables, dynamic form array mutations, and high-frequency real-time calculations.

Installing Formily with React Ant Design

bash
1npm install @formily/core @formily/react @formily/antd-v5 antd
tsx
1import { createForm } from "@formily/core";
2import { FormProvider, createSchemaField } from "@formily/react";
3import { Input, FormItem, Submit } from "@formily/antd-v5";
4
5const form = createForm();
6const SchemaField = createSchemaField({
7 components: { Input, FormItem }
8});
9
10const schema = {
11 type: "object",
12 properties: {
13 username: { type: "string", title: "Username", required: true, "x-decorator": "FormItem", "x-component": "Input" }
14 }
15};
16
17export default function App() {
18 return (
19 <FormProvider form={form}>
20 <SchemaField schema={schema} />
21 <Submit onSubmit={console.log}>Submit</Submit>
22 </FormProvider>
23 );
24}

Formily is licensed under the permissive MIT License.

Related tools

More options with a similar category or technology profile.

Formily FAQs

Formily is listed as a Developer Tools tool on TiloBox. Review the overview, features, and official documentation on this page to decide whether it solves your specific workflow.

Start with the project's GitHub repository and official website for supported installation and deployment instructions. Test the setup with representative data or a small project before rolling it out more widely.

Formily is listed under the MIT license. Read the complete license text and the project's notices before using, modifying, or distributing the software.

Production readiness depends on your requirements. Review maintenance activity, security practices, documentation, backup and upgrade procedures, and compatibility with your stack; then validate it in a non-production environment.

Formily is listed as an alternative to Formik. Compare the core workflow, deployment model, integrations, and licensing against your must-have requirements before switching.