preskok/ui

Group inputs and handle validation using the native form element.

Installation

pnpm dlx @preskok-org/ui@latest add form

Usage

import { Form } from "@/registry/preskok/ui/preskok-ui/form"
 
export function Example() {
  return <Form onSubmit={(e) => e.preventDefault()} />
}

Props

  • Inherits all react-aria-components Form props.