Analog is a fullstack meta-framework for Angular, powered by Vite.
Start collecting data in a matter of clicks.
Let Formspark take care of the servers, databases, and analytics.
Set up any form in seconds.
Compatible with Jamstack
// src/app/pages/contact.page.ts import { Component } from "@angular/core"; import { FormsModule } from "@angular/forms"; const FORMSPARK_ACTION_URL = "https://submit-form.com/your-form-id"; @Component({ standalone: true, imports: [FormsModule], template: ` <form (ngSubmit)="onSubmit()"> <textarea name="message" [(ngModel)]="message"></textarea> <button type="submit" [disabled]="submitting">Send</button> </form> `, }) export default class ContactPage { message = ""; submitting = false; async onSubmit() { this.submitting = true; try { await fetch(FORMSPARK_ACTION_URL, { method: "POST", headers: { "Content-Type": "application/json", Accept: "application/json", }, body: JSON.stringify({ message: this.message }), }); this.message = ""; } finally { this.submitting = false; } } }