Skip to content

Solid 2 reference app

A CRUD form that works before hydration

One schema validates in the browser and in the server function. The form is a real HTML form posting to a router form action, then the router turns it into tracked submissions, inline errors, pending state and single-flight revalidation.

  • Type-safe fields

    Dot paths are checked against the form value: address.city andvariants.0.sku both type-check.

  • Accessible by default

    Labels, descriptions, aria-invalid, field-linked errors and a focused error summary come with every field.

  • Nested data

    FormData is flattened by the browser and nested again on the server, including repeated array rows.

  • Server authority

    Client validation is a convenience. The server function re-validates and throws a structured 400 envelope the form can read.

Navigated to /