Git Product home page Git Product logo

fluent-form's Introduction

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

npm version Node.js CI License Angular codecov CodeFactor

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

ng add @fluent-form/core

Docs

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

Usage

import { FluentFormComponent, form } from '@fluent-form/core';
import { button, number, text } from '@fluent-form/ui-zorro';

@Component({
  standalone: true,
  imports: [FluentFormComponent],
  template: `<fluent-form [(model)]="model" [schema]="schema" />`
})
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 project!

Special thanks

Thanks to JetBrains for supporting us free open source licenses.

JetBrains Logo (Main) logo

License

MIT

fluent-form's People

Contributors

aieyes avatar dependabot[bot] avatar hyperlife1119 avatar renovate-bot avatar renovate[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.