Skip to content
Proyectos

Acerca de

📝 Formularios dinámicos para Angular basados en JSON

Desarrollo web y de aplicaciones

Cómo se miden estas cifras

What you can do

  • 🔥 Automatic forms generation
  • 📝 Easy to extend with custom field types, validation, wrappers and extensions.
  • Formly Schema (core)
  • JSON Schema string defaults are configurable. See schema defaults.

Crecimiento de estrellas medido

in 24h
-2
in 7 days
-1
in 15 days
+1
in 1 month
0

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

JSON powered / Dynamic forms in Angular

Npm version Downloads Gitter Build Status Twitter Gitpod ready-to-code


Formly is a dynamic (JSON powered) form library for Angular that brings unmatched maintainability to your application's forms.

Features

  • 🔥 Automatic forms generation
  • 📝 Easy to extend with custom field types, validation, wrappers and extensions.
  • ⚡️ Supports multiple schemas:
    • Formly Schema (core)
    • JSON Schema
  • JSON Schema string defaults are configurable. See schema defaults.
  • 😍 A bunch of themes, out of the box!
  • 💪 Built on top of Angular Reactive Forms
  • Nullable JSON Schema numbers preserve null when cleared. See JSON Schema.
  • Forms emit their initial validation status after building, including valid forms. See form notifications.
  • Subscribe to controls after fields load with the fieldChange output. See form build notifications.
  • 📹 @eggheadio course - 20 lessons & 78 minutes

Docs

Edit the input fields' JSON and try the live form on formly.dev, then explore the guides and UI demos. Use the search button or Cmd/Ctrl+K to search guide and migration text, plus UI and example page names.

AI coding skill

The ngx-formly skill helps coding agents implement Formly in your own Angular project. It checks your installed versions and UI adapter, then guides setup, field configuration, validation, custom types, repeated sections, and JSON Schema. It uses the Agent Skills format.

From your application directory, install it with the skills CLI:

npx skills add ngx-formly/ngx-formly --skill ngx-formly

Choose your coding agent when prompted. To try the skill from a local checkout before it is published, use:

npx skills add /path/to/ngx-formly --skill ngx-formly

You can also copy the entire skills/ngx-formly folder into your agent's skill directory. Keep the references folder alongside SKILL.md. The skill works without MCP; a connected Formly MCP service adds documentation search, example retrieval, and structural JSON validation.

Example request: "Use the ngx-formly skill to add a contact form with repeatable addresses, using this project's existing UI library. Keep address values when their section is hidden."

Resources

Supported UI libs

UI
Bootstrap Demo StackBlitz
Material2 Demo StackBlitz
Ionic Demo StackBlitz
Optimus UI Demo Setup and migration
PrimeNG (deprecated) Demo StackBlitz
Kendo Demo StackBlitz
NG-ZORRO Demo StackBlitz
NativeScript

Which Version to use?

Angular version Formly version Migration
Angular >= 22 @ngx-formly/[email protected] Upgrade to v11
Angular >= 21 @ngx-formly/[email protected] Upgrade to v10
Angular >= 20 @ngx-formly/[email protected] Upgrade to v9
Angular >= 19 @ngx-formly/[email protected] Upgrade to v8
Angular >= 18 @ngx-formly/[email protected] Upgrade to v7
Angular >= 13 @ngx-formly/[email protected] Upgrade to v6
Angular >= 7 @ngx-formly/[email protected] Upgrade to v5
Angular >= 6 @ngx-formly/[email protected]
Angular >= 5 @ngx-formly/[email protected]
Angular >= 4 @ngx-formly/[email protected] Upgrade to v2
Angular >= 2 [email protected]

Upgrading to v11

Formly v11 requires Angular 22 or newer and supports zoneless applications. The demo and exported examples run without Zone.js. Formly v11 continues to use Angular Reactive Forms; Signal Forms integration is planned for v12. The Ionic adapter requires Ionic 9 and uses its standalone components. Initialize Ionic with provideIonicAngular() from @ionic/angular in your application providers. The Formly PrimeNG adapter is deprecated. Migrate to Optimus UI using the adapter migration guide.

See the v11 upgrade guide for dependency updates and zoneless migration steps. Applications staying on Angular 21 should use Formly v10.

Upgrading to v10

Formly v10 requires Angular 21 or newer. Upgrade Angular first, then update all @ngx-formly/* packages used by your application together to v10. The Material, PrimeNG, and NG-ZORRO integrations require version 21 or newer of their respective UI libraries. Kendo requires version 21.4.1 or newer, and NativeScript requires @nativescript/angular 21 or newer. Applications staying on Angular 20 should use Formly v9.

See the v10 upgrade guide for migration steps.

Core Team


Abdellatif Ait boudad

Juri Strumpflohner

Mohammed Zama Khan

Bram Borggreve

Keni Steward

Max Kless
Raphaël Balet
Raphaël Balet

Contributors

Thanks goes to these wonderful people:

aitboudadmohammedzamakhandivyakumarjainMaxKlesscouzicjuristrfranzealbeeman

kenistewardthorgodsamtsailuizfbicalhoklemenoslajFritzHerbersdev-kanishkvstiebe

rpw1DevqonryanjerskinerehleinBoMarcosEllysmanuelmeisterdolphinigleLehoczky

Krustie101intellixskrthebossdwaldrumjson-deruloatsjoCseltblowsie

roshan-samarternavskyimilasevicius13dante04Rironrbaletrafaelss95rammba

PoujaOmkarJ13NanFengCheongTom-VVyacheslavPritykinakamyshanovdanielcrispfrancisco-sanchez-molina

jazpearsonkapsiRmarfermburger81n3xusneminovnosesidhar01vezzoo

wenqi73yoni333AlexTalcuraalex-novikov-1990alvarolbandmoredevvitale232AmGarera

atsjobhaidarcyrilletuzijson-deruloDayvissondereekbeduardoRothenricouniurb

erikvdv1fynnfeldpauschjrgleasonjohannesjojohndbelljdpnielsenTheMcMurderLennardWesterveld

logvinoleg89LucasJAlbalucienbertinluizbicalhoaglwaffle-ironmathijshooglandmrbuschemehranmb78

Explorar proyectos relacionados

Cargando…