Skip to content

Integrations

Standard Schema

ArkType is proud to support and co-author the new Standard Schema API with Valibot and Zod.

Standard Schema allows you and your dependencies to integrate library-agnostic validation logic. If you’re building or maintaining a library with a peer dependency on ArkType and/or other validation libraries, we’d recommend consuming it through Standard Schema’s API if possible so that your users can choose the solution that best suits their needs!

tRPC

ArkType can easily be used with tRPC via the assert prop:

t.procedure.input(
	
const type: TypeParser
<{
    readonly name: "string";
    readonly "age?": "number";
}, Type<{
    name: string;
    age?: number;
}, {}>>(def: validateObjectLiteral<{
    readonly name: "string";
    readonly "age?": "number";
}, {}, bindThis<{
    readonly name: "string";
    readonly "age?": "number";
}>>) => Type<...> (+2 overloads)
type
({
name: "string", "age?": "number" }).assert )

react-hook-form

🚧 Coming soon ™️🚧

hono

🚧 Coming soon ™️🚧