Skip to content
Development
Agent

form-components

A single form control sits in `ConformField`, which handles the wiring while the caller renders the ui control; a group stays composed from the ui `Field` parts with `ConformFieldError`. The pattern and a code example per control type are in

From plugin
gaia
2618 skills18 agents12 commands

Claude Code

$ npx -y skills add gaia-harness/gaia --agent claude-code

Agent definition

form-components.md
subagents: [react-patterns]
library: shadcn Form Fields

Form Field Gate

A single form control sits in `ConformField`, which handles the wiring while the caller renders the ui control; a group stays composed from the ui `Field` parts with `ConformFieldError`. The pattern and a code example per control type are in `apps/web/.claude/skills/react-code/references/conform-forms.md`.

`components/ui/*.tsx` is vendored shadcn output and exempt from this gate; it is the building block, not a call site.

Flag, in every other `.tsx` file:

| Pattern | Use instead | | -------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | | native `<input>` (text types), `<textarea>`, `<select>` | `Input`, `Textarea`, `NativeSelect` from `~/components/ui/...`, inside a `ConformField` when bound to a Conform field | | native `<input type="checkbox">` or `<input type="radio">` | `Checkbox` or `RadioGroup` with `RadioGroupItem`; a group sits in a `FieldSet` with a `FieldLegend` | | a ui control with no `FieldLabel htmlFor`, `Label htmlFor`, `aria-label` or `aria-labelledby` | `ConformField` for a Conform field; a `Label` or `aria-label` outside a form | | a hand-wired `Field` around a single control bound to a Conform field | `ConformField`; a `Field` per option inside a group is fine | | a `ConformField` child that does not pass `controlOptions` to Conform's getter | pass them, or the description never reaches `aria-describedby` | | a page-local error mapper, or a group's `FieldError` fed Conform's errors | `ConformFieldError` | | a `RadioGroup` bound to a Conform field without `aria-invalid`, `aria-describedby` and `required={field.required}` | set them as the reference shows; no Conform getter supplies them | | a GAIA wrapper per control type (Input, Select, Checkbox), or one that renders the control itself | the ui control as `ConformField`'s child | | a disabled link standing in for a disabled action | a disabled `ui/button` |

Exceptions (native OK): `<input type="hidden">`, `<input type="file">`, `<input type="range">`.

Read more
@gaia-react
Ships withgaia

Claude is raw power. GAIA is order and focus. A serious harness for Claude Code. It keeps Claude-shipped code production-grade as your team scales. The React frontend is handled. You build the rest of your app on top.

2619 skills18 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
26
Star history of gaia-react/gaia on GitHub, a chart by star-history.com

Other agents on gaia.

audit-loop-unit

audit-loop-unit

Agent

Dispatched only by the PR Merge Workflow main thread to run audit rounds off-thread and return a thin unit report. Never invoked…

@gaia-react@gaia-reactInstall Agent
audit-refuter

audit-refuter

Agent

Dispatched only by the code-audit-frontend member: a read-only adversarial check that tries to refute one holistic Critical or…

@gaia-react@gaia-reactInstall Agent
audit-rule-specialist

audit-rule-specialist

Agent

Dispatched only by the code-audit-frontend member: a read-only line-level rule check of one role over the files it is handed.…

@gaia-react@gaia-reactInstall Agent
code-audit-frontend

code-audit-frontend

Agent

Dispatched only by the audit loop as the frontend member of the Code Audit Team: reviews code for security, performance,…

@gaia-react@gaia-reactInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc11d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react1d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codextoday135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman1d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about form-components.

Which coding agents can use form-components?
form-components installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.