Skip to content

Klyroo.Form documentation

The documentation follows the Diátaxis structure: a tutorial to build your first form, how-to guides for typed and runtime schemas, reference pages for APIs and platforms, and an explanation of the engine.

On this page

Tutorial

  • Getting started: install, register, build a contact form headless and then in Blazor, with the typed API.

How-to guides

  • Guides: declare a form from a C# model, custom validation, server errors, async checks, conditional fields, wizards, section pages, dialogs, repeatable rows, prefill and reset, custom controls, uploads, data annotations, testing. All with the typed API.
  • Forms defined at runtime: the runtime mode (Klyroo.Form.Dynamic) for forms stored as data, with the same recipes on dictionaries and keys.

Reference

  • API reference: every public type and member, generated from the XML documentation.
  • Platforms: render modes, .NET MAUI (Blazor Hybrid and native views), NativeAOT and trimming, known limitations.
  • FAQ: troubleshooting, limitations and frequent questions.

Explanation

  • Concepts: the typed schema and controller, the engine under both modes, validation, steps, submission and the split between the two packages.

Internals

  • Internal contract (for contributors): the engine, the node tree, the codec and IFormRuntime, for the components and the agent bridge that build on them. Not needed to use the library.