formshape

Type-safe form validation for SvelteKit's remote functions.

Basic usage

Try it

Error handling

Validation errors are returned in this format:

Display errors next to fields:

Works with any Standard Schema validator