Skip to content
forms

Install

Install the adapter for your framework. The other packages are optional.

bun add @lunarhue/forms-reactnpm install @lunarhue/forms-reactpnpm add @lunarhue/forms-reactyarn add @lunarhue/forms-react

The adapter brings the core and the plugins that need no other library.

Optional packages

Validation from a Zod schema. Valibot works the same way.

bun add @lunarhue/forms-schema zodnpm install @lunarhue/forms-schema zodpnpm add @lunarhue/forms-schema zodyarn add @lunarhue/forms-schema zod

Keeps a form in step with a Zustand store.

bun add @lunarhue/forms-bindnpm install @lunarhue/forms-bindpnpm add @lunarhue/forms-bindyarn add @lunarhue/forms-bind

Requirements

@lunarhue/forms-react React 16.8 and later
@lunarhue/forms-schema Zod 4 or Valibot 1
@lunarhue/forms-bind Zustand 5

Last updated