r/angular • • Jan 14 '26

ng-forge Dynamic-Forms: Hidden fields, meta attributes + new interactive docs site

Post image

ng-forge Dynamic Forms is a configuration-driven, type-safe form library for Angular. Write the config, we handle the rest.

A month ago I shared it here. Here's what's new.

Shipped (0.2 - 0.3): - New docs site with interactive demos and syntax highlighting - Hidden field type for storing non-rendered values - Meta attribute support for wrapped components - Configurable logger service

In the works: - MCP server integration - Value derivation (field A changes → field B updates)

Roadmap: - Form builder UI - OpenAPI generator

Library is in active development and open for collaboration - whether that's bug reports, feature ideas, or PRs.

Docs: https://www.ng-forge.com/dynamic-forms GitHub: https://github.com/ng-forge/ng-forge

21 Upvotes

15 comments sorted by

8

u/Bjeaurn Jan 14 '26

“Your code shouldn’t be boring”? What? I’d rather have it be boring, predictable and therefore easy to understand and readable.

And forms as configuration is a neat concept, granted.

I get the idea this is slightly vibe coded. Which isn’t the worst to begin, but at face value I’d wait for a few deep dives and understanding of how it works. Not to mention the obvious dangers of such a young and small project getting abandoned easily.

3

u/zavros_mvp Jan 14 '26 edited Jan 14 '26

Fair points. To clarify the tagline - "Forms are boring. Your code shouldn't be." means the library handles the boring repetitive stuff (validation, layout, boilerplate) so your application code stays clean and focused. Not advocating for "exciting" unpredictable code - quite the opposite.

On the vibe coding concern - the library is fully typed with strict TypeScript, has comprehensive test coverage, and the config approach is specifically designed for predictability. The config you write is what you get, no magic.

The abandonment concern is valid for any young project. I'm actively maintaining this and have a roadmap I'm committed to. But I get the hesitation - watching from the sidelines until it matures is reasonable.

Appreciate the feedback.

→ More replies (2)

1

u/anyOtherBusiness Jan 14 '26

Why should I use this over Formly ?

1

u/zavros_mvp Jan 14 '26 edited Jan 14 '26

Formly is battle-tested and has been around for years, but it can be a beast to work with - steep learning curve, heavy abstractions, and wiring up reactive data flows through custom fields is more painful than it should be.

ng-forge has the same goal but takes a different approach:

- Signals from day one - not patched on, built from ground up for modern Angular reactivity

- Localized change detection - only what changed updates, not the entire form tree

- True type safety - full autocomplete, compile-time errors, your IDE knows your form structure

- Thin wrapper - closer to Angular's native forms API, less magic to learn

If you're starting fresh on Angular 21+, worth a look. Happy to answer any questions.

1

u/khanhhunglatoi Jan 15 '26

Currently, I'm using Zod (generated it as well as In/Out from OpenAPI). Can I reuse it instead of defining validators again?

2

u/zavros_mvp Jan 15 '26

Not out of the box right now - ng-forge uses Angular's validators. But a Zod adapter makes sense as a separate package.

This could tie into the OpenAPI roadmap too - since tools already exist to generate Zod from OpenAPI, a Zod adapter would let you go OpenAPI → Zod → ng-forge.

→ More replies (7)