forms

Build validated React forms with FNForm using formDefinition and formRef.

Updated Dec 25, 2025
One-click install
npx skills add https://github.com/Mavrick91/tanstack-start-app --skill forms-mavrick91
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: forms
Source: https://github.com/Mavrick91/tanstack-start-app/tree/main/.claude/skills/forms
Command: npx skills add https://github.com/Mavrick91/tanstack-start-app --skill forms-mavrick91

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

FNForm centralizes complex form logic, enabling rapid creation of robust, validated forms with consistent UX and reduced boilerplate.

Core Features & Use Cases

  • Centralized formDefinition model to define fields, validation, and layout.
  • Built-in validation with customizable validators and onChange support.
  • Grid-based layouts with rows and columns for responsive forms.
  • External control via formRef for programmatic submit, value access, and error handling.
  • Support for custom fields and render props to integrate non-standard inputs.

Quick Start

Create a simple form using FNForm by supplying a formDefinition and wiring an onSubmit handler.

Frequently Asked Questions about forms

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build complex validated forms in React without repetitive boilerplate?

You can build complex validated React forms by defining fields, validation, and layout in a centralized model. This approach reduces boilerplate and ensures consistent UX across admin dashboards and client applications.

What is a centralized form definition model for frontend validation?

A centralized form definition model is a single configuration object where you define form fields, validation logic, and layout rules. It enables rapid form creation with consistent behavior and reduced boilerplate across applications.

How do I implement grid-based layouts for responsive React forms?

You can implement responsive grid-based layouts by configuring rows and columns within your form definition. This organizes multi-field forms into structured layouts that adapt to different screen sizes automatically.

Can I programmatically submit and access values with external form control in React?

Yes, external form control allows you to programmatically submit forms, access current values, and handle errors via a form reference API. This enables parent components to trigger actions and read form state externally.

How do I add custom fields and non-standard inputs to a validated React form?

You can add custom fields by using render props that integrate non-standard inputs into your form definition. This allows specialized UI components to participate in the standard validation and layout system.