https://github.com/fluent-form/fluent-form
Building dynamic form in Angular with Fluent API and JSON
https://github.com/fluent-form/fluent-form
angular angular-forms compose-api dynamic-form fluent-api json-form ng-zorro-antd reactive-forms schema-form
Last synced: 5 months ago
JSON representation
Building dynamic form in Angular with Fluent API and JSON
- Host: GitHub
- URL: https://github.com/fluent-form/fluent-form
- Owner: fluent-form
- License: mit
- Created: 2022-03-07T10:17:16.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-23T21:52:40.000Z (6 months ago)
- Last Synced: 2024-10-24T10:30:35.768Z (6 months ago)
- Topics: angular, angular-forms, compose-api, dynamic-form, fluent-api, json-form, ng-zorro-antd, reactive-forms, schema-form
- Language: TypeScript
- Homepage: https://fluent-form.github.io/fluent-form/
- Size: 7.28 MB
- Stars: 48
- Watchers: 4
- Forks: 4
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-angular - fluent-form - Building dynamic form in Angular with Fluent API or JSON. (Table of contents / Third Party Components)
- fucking-awesome-angular - fluent-form - Building dynamic form in Angular with Fluent API or JSON. (Table of contents / Third Party Components)
- fucking-awesome-angular - fluent-form - Building dynamic form in Angular with Fluent API or JSON. (Table of contents / Third Party Components)
README
![]()
An Angular dynamic forms library powered by Fluent API and JSON.
[](https://www.npmjs.com/settings/fluent-form/packages)


[](https://www.github.com/angular/angular)
[](https://codecov.io/gh/fluent-form/fluent-form)
[](https://www.codefactor.io/repository/github/fluent-form/fluent-form)## Features
- Support for using the Fluent API with 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
```bash
ng add @fluent-form/core
```## Docs
For documentation and examples please visit [https://fluent-form.github.io/fluent-form](https://fluent-form.github.io/fluent-form).
## Usage
```ts
import { FluentFormComponent, form } from '@fluent-form/core';
import { button, number, text } from '@fluent-form/ui-zorro';@Component({
standalone: true,
imports: [FluentFormComponent],
template: ``
})
export class ExampleComponent {
schema = form(() => {
text('text');
number('count');
button().content('submit');
});model = {
text: 'I love fluent form',
count: 10
};
}
```## 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.
## Support
Do you love ✨ fluent-form ✨ ? Star for [this](https://github.com/fluent-form/fluent-form) project!
## Special thanks
Thanks to [JetBrains](https://www.jetbrains.com/?from=fluent-form) for supporting us free open source licenses.

## License
[MIT](https://github.com/fluent-form/fluent-form/blob/main/LICENSE)