npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@ng-forge/dynamic-forms

v0.1.3

Published

Type-safe, signal-powered dynamic forms for Angular. Build complex forms from configuration with full TypeScript inference.

Downloads

429

Readme

@ng-forge/dynamic-forms

Core library for building type-safe, dynamic Angular forms with signal forms integration.

npm version npm downloads Angular License: MIT

Experimental API Notice: This library uses Angular's experimental Signal Forms API. Angular may introduce breaking changes in patch releases. Check the compatibility matrix below.

Compatibility

| @ng-forge/dynamic-forms | Angular | Notes | | ----------------------- | ------------- | ---------------------------------- | | 0.1.1+ | >=21.0.2 | Signal forms API signature changed | | 0.1.0 | 21.0.0-21.0.1 | Initial release |

Installation

npm install @ng-forge/dynamic-forms @ng-forge/dynamic-forms-material

Quick Start

// app.config.ts
import { provideDynamicForm } from '@ng-forge/dynamic-forms';
import { withMaterialFields } from '@ng-forge/dynamic-forms-material';

export const appConfig: ApplicationConfig = {
  providers: [provideDynamicForm(...withMaterialFields())],
};
// component.ts
import { DynamicForm, type FormConfig, type InferFormValue } from '@ng-forge/dynamic-forms';

@Component({
  imports: [DynamicForm],
  template: `<form [dynamic-form]="config" (submitted)="onSubmit($event)"></form>`,
})
export class UserFormComponent {
  config = {
    fields: [
      { key: 'email', type: 'input', value: '', label: 'Email', required: true, email: true },
      { key: 'password', type: 'input', value: '', label: 'Password', required: true, minLength: 8, props: { type: 'password' } },
      { type: 'submit', key: 'submit', label: 'Sign In' },
    ],
  } as const satisfies FormConfig;

  onSubmit(value: InferFormValue<typeof this.config.fields>) {
    console.log('Form submitted:', value); // TypeScript infers: { email: string, password: string }
  }
}

Features

  • Signal Forms - Native Angular 21+ signal forms integration
  • Type-Safe - Full TypeScript inference with InferFormValue
  • UI Agnostic - Bring your own UI or use official integrations
  • Validation - Shorthand validators (required, email, minLength) and custom validators
  • Conditional Logic - Dynamic visibility and validation based on form state
  • Container Fields - Groups, rows, and pages for complex layouts
  • i18n Ready - Observable/Signal support for labels and messages
  • Event System - Custom events for buttons and form actions

UI Integrations

This core library requires a UI integration. Choose one:

| Package | UI Library | | ---------------------------------------------------------------------------------------------------- | ---------------- | | @ng-forge/dynamic-forms-material | Angular Material | | @ng-forge/dynamic-forms-bootstrap | Bootstrap 5 | | @ng-forge/dynamic-forms-primeng | PrimeNG | | @ng-forge/dynamic-forms-ionic | Ionic |

Or create your own.

Documentation

Changelog

See GitHub Releases.

Contributing

Contributions are welcome! Please read our Contributing Guide.

License

MIT © ng-forge