--- id: quick-start title: Quick Start --- The bare minimum to get started with TanStack Form is to create a form and add a field. Keep in mind that this example does not include any validation or error handling... yet. ```angular-ts import { Component } from '@angular/core' import { bootstrapApplication } from '@angular/platform-browser' import { TanStackField, injectForm } from '@tanstack/angular-form' @Component({ selector: 'app-root', standalone: true, imports: [TanStackField], template: `
`, }) export class AppComponent { form = injectForm({ defaultValues: { fullName: '', }, onSubmit({ value }) { // Do something with form data console.log(value) }, }) handleSubmit(event: SubmitEvent) { event.preventDefault() event.stopPropagation() this.form.handleSubmit() } } bootstrapApplication(AppComponent).catch((err) => console.error(err)) ``` From here, you'll be ready to explore all of the other features of TanStack Form!