Getting Started
Overview
Installation
Theme
Forms
Basic Inputs
Custom Inputs
Select
Components
Components
78
Micro Charts
Navigation
Libraries
Content Editor
Data View
Form Builder
Form Renderer
Image Designer
Kanban Board
PDF Viewer
Video Player
Visual Builder
Latest npm version of @ngstarter-ui/componentsWeekly npm downloads of @ngstarter-ui/components
Purchase

Form Builder

Form Builder creates schema-driven forms with a drag-and-drop builder, a runtime renderer, and provider-based registration for field types and field-specific settings panels.

Use it for admin-configurable forms, document templates, onboarding builders, tenant-specific field layouts, surveys, intake flows, and other places where product teams need to compose fields without changing Angular templates.

Builder inputs

InputTypeDefault
schema
Two-way model containing the form title, sections, and fields.
ModelSignal<FormBuilderSchema>createDefaultFormBuilderSchema()
paletteTitle
Title shown above the field palette.
stringFields
inspectorTitle
Title shown above the field settings inspector.
stringField properties

Builder events

EventDescriptionType
fieldSelectedEmitted when a canvas field is selected.FormBuilderFieldChange
fieldAddedEmitted when a field is inserted from the palette.FormBuilderFieldChange
fieldRemovedEmitted when a field is deleted from the canvas.FormBuilderFieldChange

Renderer inputs

InputTypeDefault
schema*
Saved builder schema to render as an Angular reactive form.
FormBuilderSchema
value
Two-way model for runtime form values.
Record<string, any>{}
readonly
Disables all controls and hides the submit button when used with showSubmit.
booleanfalse
showSubmit
Whether the renderer shows its built-in submit button.
booleantrue
submitLabel
Text for the built-in submit button.
stringSubmit

Renderer events

EventDescriptionType
formSubmitEmitted with raw form value when the rendered form is valid and submitted.Record<string, any>
formReadyEmitted after the renderer creates the FormGroup.FormGroup

Provider helpers

HelperDescriptionReturns
provideFormBuilderEnvironment provider for custom field definitions and settings definitions.EnvironmentProviders
formBuilderFieldHelper for defining a field type with defaults, lazy renderer, lazy settings, and validators.FormBuilderFieldDefinition
formBuilderSettingsHelper for registering a settings component for an existing field type.FormBuilderSettingsDefinition