MCPcopy Index your code
hub / github.com/Vijayabaskar56/tancn

github.com/Vijayabaskar56/tancn @v1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.0 ↗ · + Follow
1,569 symbols 3,232 edges 254 files 77 documented · 5% updated 6mo agov1.0.0 · 2025-11-10★ 6605 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

TANCN

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

Features

🖱️ Drag & Drop Builder

Intuitive drag-and-drop interface for building forms and tables quickly. Add, rearrange, and configure them 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 and table 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.

📑 Data-Grid & Advanced Filters

Create complex data-grid tables and powerful filters. Perfect for building complex tables with large datasets.

💾 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 tancn
  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: - tweakcn - 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

Star History

Star History Chart

License

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

Extension points exported contracts — how you extend this code

ServiceWorkerGlobalScope (Interface)
* This ServiceWorker API interface represents the global execution context of a service worker. * Available only in sec
worker-configuration.d.ts
Register (Interface)
(no doc)
src/router.tsx
ApiResponse (Interface)
(no doc)
src/types/form-types.ts
FAQItem (Interface)
(no doc)
src/components/faq.tsx
MyRouterContext (Interface)
(no doc)
src/routes/__root.tsx
HeaderRateLimitInfo (Interface)
(no doc)
src/lib/header-rate-limiter.ts
DataRow (Interface)
(no doc)
src/workers/data-processor.worker.ts
TableTemplate (Interface)
(no doc)
src/constants/table-templates.ts

Core symbols most depended-on inside this repo

cn
called by 373
src/utils/utils.ts
start
called by 143
worker-configuration.d.ts
replace
called by 75
worker-configuration.d.ts
onChange
called by 43
src/components/app-toggle.tsx
error
called by 39
worker-configuration.d.ts
formatFieldName
called by 35
src/lib/form-code-generators/react/generate-form-component.ts
findAndUpdateFormArray
called by 27
src/hooks/use-form-store.ts
toString
called by 23
worker-configuration.d.ts

Shape

Function 811
Interface 427
Method 238
Class 93

Languages

TypeScript100%

Modules by API surface

worker-configuration.d.ts591 symbols
src/hooks/use-form-store.ts63 symbols
src/components/ui/filters.tsx39 symbols
src/services/table-builder.service.ts26 symbols
src/components/ui/sidebar.tsx25 symbols
src/components/ui/data-grid-table.tsx18 symbols
src/components/ui/multi-select.tsx16 symbols
src/components/ui/menubar.tsx16 symbols
src/hooks/use-list-state.ts15 symbols
src/components/ui/dropdown-menu.tsx15 symbols
src/components/ui/context-menu.tsx15 symbols
src/components/theme-provider.tsx14 symbols

For agents

$ claude mcp add tancn \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page