tanstack-form

Build accessible forms with TanStack Form and React Aria Components.

1|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/oakoss/open-saas-kit --skill tanstack-form-oakoss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tanstack-form
Source: https://github.com/oakoss/open-saas-kit/tree/main/.claude/skills/tanstack-form
Command: npx skills add https://github.com/oakoss/open-saas-kit --skill tanstack-form-oakoss

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies building robust, accessible forms by combining TanStack Form with React Aria Components, reducing boilerplate and ensuring consistent validation and state management across projects.

Core Features & Use Cases

  • Composable form patterns: Basic and composable form patterns for both simple and complex forms.
  • Validation integration: Easy integration with standard schemas (Zod, Valibot, ArkType, Yup) and cross-field validation.
  • Accessible UI: Built-in accessibility practices via React Aria components for labels, hints, and error messages.
  • Use Case: Rapidly build authentication forms, multi-step wizards, and dynamic arrays of fields with consistent behavior.

Quick Start

pnpm add @tanstack/react-form

Frequently Asked Questions about tanstack-form

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

FAQPage Schema
How do I build accessible React forms with validation?

Build accessible React forms with validation by combining TanStack Form for state management with React Aria Components for UI labels and error messages. This approach reduces boilerplate and ensures consistent cross-field validation across projects.

Does TanStack Form work with Zod or other schema validation libraries?

TanStack Form works with Zod and other standard schema validation libraries like Valibot, ArkType, and Yup. It provides easy integration for validation, including support for complex cross-field validation scenarios.

What is the best way to manage dynamic arrays of fields in React?

The best way to manage dynamic arrays of fields in React is using composable form patterns with TanStack Form. This approach provides smooth state management for dynamic fields, ensuring consistent behavior without manual state tracking.

Do I need React Aria Components to use TanStack Form?

You do not strictly need React Aria Components to use TanStack Form, but pairing them ensures built-in accessibility practices for labels, hints, and error messages. A UI library like @oakoss/ui is recommended to enable immediate accessible use.

Can I create multi-step form wizards using TanStack Form?

You can create multi-step form wizards using TanStack Form by leveraging its composable form patterns. This handles smooth form state management across steps, supporting both simple and complex form structures.

How to set up TanStack Form in a React project?

Set up TanStack Form in a React project by installing the @tanstack/react-form package, a UI library like @oakoss/ui, and a schema library such as Zod. This standard npm package setup enables immediate form development.