Library
FormsValibot
Lightweight schema validation library focused on small bundles and composable parsing.
UnverifiedActive
Unverified
Compatibility has not been verified yet in the PreactHub catalog.
Packagevalibot
npm install valibotimport * as v from "valibot"; const schema = v.object({ email: v.pipe(v.string(), v.email()) });Introduction
Valibot is a compelling option when bundle size matters and you want modern schema composition.
Preact configuration
No Preact-specific adapter is required for schema parsing.
SSR notes
Pure validation logic works consistently across server and client rendering paths.
Islands notes
When using this library inside an island, keep browser-specific setup inside the island component or an effect, and pass only serializable props from the server-rendered page.