Form Builder for Angular
Introduction
Section titled “Introduction”A form designer that produces the schema and UI schema Schema Form renders. A palette of field types (click, Enter, or pointer drag onto the canvas), a canvas whose fields reorder by pointer drag or keyboard (Sortable List), a properties panel for label, name, required, validation, options, help text, width, and visibility conditions, a live Schema Form preview, a JSON view with validated import, and undo/redo. Emits aui-change with { schema, uiSchema } after every valid edit.
- Palette and canvasAdd 18 field types by click, Enter, or drag; reorder fields by pointer or keyboard.
- Properties panelLabel, name, required, validation, options, help text, width, and visibility conditions.
- Live previewThe Preview tab renders the document with Schema Form, ready to submit.
- JSON in and outSee the schema and UI schema, paste a document, and import it after validation.
- Undo and redoEvery change is undoable, also with Ctrl+Z and Ctrl+Y; invalid edits never reach your app.
Behavior, design tokens, and limitations are described on the Form Builder page; this page covers the Angular API.
Live example
Section titled “Live example”import { Component, signal } from '@angular/core';import type { FormBuilderChangeDetail } from '@absoluteui/components/form-builder';import type { FormSchema, UiField } from '@absoluteui/components/schema-form';import { AuiFormBuilder } from '@absoluteui/angular/form-builder';import { AuiSchemaForm } from '@absoluteui/angular/schema-form';
@Component({ selector: 'app-form-designer', imports: [AuiFormBuilder, AuiSchemaForm], template: ` <aui-form-builder label="Onboarding questionnaire" (changed)="onChange($event)"></aui-form-builder> <aui-schema-form [schema]="schema()" [uiSchema]="uiSchema()"></aui-schema-form> `,})export class FormDesignerComponent { readonly schema = signal<FormSchema>({ type: 'object', properties: {} }); readonly uiSchema = signal<UiField>({}); onChange(detail: FormBuilderChangeDetail): void { this.schema.set(detail.schema); this.uiSchema.set(detail.uiSchema); }}Install and start
Section titled “Install and start”npm install @absoluteui/angular @absoluteui/components @absoluteui/core @absoluteui/themeSetup with provideAbsoluteUI() is covered in Getting started. Styles are included with the component.
import { AuiFormBuilder } from '@absoluteui/angular/form-builder';Defaults for every instance: provideAbsoluteUIConfig({ components: { formBuilder: { ... } } }) (see Configuration).
API reference
Section titled “API reference”<aui-form-builder>
Section titled “<aui-form-builder>”Class AuiFormBuilder; template reference #ref="auiFormBuilder".
Server rendering: Renders on the server; the browser re-creates it after hydration.
Inputs
Section titled “Inputs”| Input | Type | Default | Description |
|---|---|---|---|
label |
string |
Required. Accessible name of the builder (toolbar). | |
schema |
FormSchema |
Initial schema (root type object). Default: an empty form. | |
uiSchema |
UiField |
Initial UI schema. | |
fieldTypes |
readonly FormBuilderFieldType[] |
Field types offered in the palette, in order. Default: all 18. | |
icons |
Partial<FormBuilderIcons> |
Icon overrides: undo, redo, remove, handle. | |
historyLimit |
number |
'100' |
Undo steps kept (1 to 1000). |
locale |
string |
'en-US' |
Locale of the builder’s messages and controls. |
Outputs
Section titled “Outputs”| Output | Payload | Description |
|---|---|---|
(changed) |
FormBuilderChangeDetail |
The document changed (edit, reorder, import, undo, redo): { schema, uiSchema }, always valid for Schema Form. Re-emits aui-change. |
Methods
Section titled “Methods”Call them through a viewChild query or a template reference.
| Method | Description |
|---|---|
getValue(): FormBuilderChangeDetail | undefined |
The current { schema, uiSchema } (a copy). |
addField(type: FormBuilderFieldType, index?: number | undefined): string | undefined |
Add a field after the selection or at index; returns its name. |
removeField(name: string): void |
Remove a field and the conditions that use it. |
selectField(name: string | null): void |
Select a field, or null for the form settings. |
undo(): void | undefined |
Step through the history (also Ctrl+Z, Ctrl+Y, Ctrl+Shift+Z outside text fields). |
redo(): void |
Step through the history (also Ctrl+Z, Ctrl+Y, Ctrl+Shift+Z outside text fields). |
Accessibility and performance
Section titled “Accessibility and performance”Pattern: Toolbar plus Tabs (Design, Preview, JSON); the canvas is a Sortable List (keyboard grab, move, drop with announcements); the palette and properties are labelled regions of native buttons and AbsoluteUI form controls.
The Angular component renders the framework-neutral component, so its keyboard support, roles, WCAG 2.2 criteria, budgets, and import cost apply unchanged: see Form Builder: Accessibility and performance.
(c) 2026 Kasadara Technology Solutions Pvt Ltd. AbsoluteUI is free to use under the AbsoluteUI Free Use License; it is not open source.