Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fluent-form/fluent-form

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An Angular dynamic forms library powered by Fluent API and JSON.

npm version CI License Angular codecov CodeFactor

Features

  • Support for using the Fluent API and JSON.
  • Based on embedded view, no host element, supports nested layout.
  • Imported on demand and tree-shakable.
  • Built on Angular reactive forms.
  • Supports integration with UI libraries.

Install

ng add @fluent-form/core

Docs

For documentation and examples please visit https://fluent-form.github.io/fluent-form.

Usage

import { FluentForm } from '@fluent-form/core';
import { form, button, numberField, textField, textArea } from '@fluent-form/ui-zorro';

@Component({
  imports: [FluentForm],
  template: `<fluent-form [schema]="schema()" [(model)]="model" />`
})
export class ExampleComponent {
  readonly schema = form(() => {
    textField('name').label('Name').required(true);
    numberField('age').label('Age').required(true);
    textArea('bio').label('Bio').placeholder('Tell us about yourself');
    button().content('Submit');
  });

  readonly model = signal({
    name: 'John Doe',
    age: null,
    bio: 'I love fluent form'
  });
}

Stage

Currently in beta, we look forward to your active trial, we will continue to actively collect user feedback, rapid iteration and continuous improvement of functionality and performance.

Changelog

Learn about the latest improvements.

Support

Do you love ✨ fluent-form ✨ ? Star for this project!

Special thanks

Thanks to JetBrains for supporting us free open source licenses.

JetBrains Logo (Main) logo

License

MIT

Morty Proxy This is a proxified and sanitized view of the page, visit original site.