Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 24 days 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 (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-23T21:52:40.000Z (about 2 months ago)
- Last Synced: 2024-10-24T10:30:35.768Z (about 2 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.
[![npm version](https://img.shields.io/npm/v/@fluent-form/core/latest.svg)](https://www.npmjs.com/settings/fluent-form/packages)
![Node.js CI](https://github.com/fluent-form/fluent-form/workflows/Node.js%20CI/badge.svg)
![License](https://img.shields.io/badge/License-MIT-blue.svg)
[![Angular](https://img.shields.io/badge/Build%20with-Angular%20CLI-red?logo=angular)](https://www.github.com/angular/angular)
[![codecov](https://codecov.io/gh/fluent-form/fluent-form/branch/main/graph/badge.svg?token=070GEU44U0)](https://codecov.io/gh/fluent-form/fluent-form)
[![CodeFactor](https://www.codefactor.io/repository/github/fluent-form/fluent-form/badge)](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.
![JetBrains Logo (Main) logo](https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.svg)
## License
[MIT](https://github.com/fluent-form/fluent-form/blob/main/LICENSE)