Skip to content

Instantly share code, notes, and snippets.

View guilherme6191's full-sized avatar
🏠
Working from home

Guilherme R Vasconcelos guilherme6191

🏠
Working from home
View GitHub Profile
@guilherme6191
guilherme6191 / remix-form-example.tsx
Last active February 13, 2024 19:22
Progressive enhanced form example with Remix, tailwind, conform and zod. + File field.
import {
conform,
list,
useFieldList,
useFieldset,
useForm,
type FieldConfig,
} from '@conform-to/react'
import { getFieldsetConstraint, parse } from '@conform-to/zod'
import {