Skip to content

Latest commit

ย 

History

History
73 lines (52 loc) ยท 2.43 KB

File metadata and controls

73 lines (52 loc) ยท 2.43 KB

TanStack Form Builder

A powerful form builder application built with TanStack technologies. Create dynamic, type-safe forms with drag-and-drop interface, real-time preview, and automatic code generation.

Features

๐Ÿ–ฑ๏ธ Drag & Drop Builder

Intuitive drag-and-drop interface for building forms quickly. Add, rearrange, and configure form fields with ease.

๐Ÿ”’ Type-Safe Code Generation

Generate fully typed React components with TypeScript support. Automatic schema generation for form validation.

๐ŸŽจ ShadCN UI Integration

Seamlessly integrated with ShadCN UI components. Generate customizable, accessible form components out of the box.

๐Ÿ“‘ Multi-Step & Field Arrays

Create complex multi-step forms and dynamic field arrays. Perfect for advanced form requirements and data structures.

๐Ÿ’พ Save, Share & Export

Save your form configurations, share them with team members, and export generated code for immediate use in your projects.

๐Ÿ‘๏ธ Real-time Preview

See your form changes instantly with live preview. Test form behavior and styling as you build.

Installation

  1. Clone the repository:
git clone <repository-url>
cd tanstack-form-builder
  1. Install dependencies:
bun install
  1. Start the development server:
bun run dev:web

The application will be available at http://localhost:3001

Usage

  • Navigate to the Form Builder section to start creating forms
  • Use the drag-and-drop interface to add and arrange form fields
  • Configure validation rules and field properties
  • Preview your form in real-time
  • Export the generated code for use in your projects

Project Origins

This project was started as a fork of formcn.dev and is inspired by:

  • tweekcn - Component library and design system
  • formcn - Form building tools and utilities
  • originui - UI component library and design patterns
  • better-t-stack - modern CLI tool for scaffolding end-to-end type-safe TypeScript projects

Tech Stack

  • Frontend: React 19, TypeScript
  • Routing: TanStack Router
  • Forms: TanStack Form, React Hook Form
  • UI: ShadCN UI, Radix UI, Tailwind CSS
  • Validation: Zod, Valibot, ArkType
  • Build: Vite, Turbo
  • Deployment: Cloudflare Pages

License

This project is licensed under the MIT License - see the LICENSE file for details.