npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@qazuor/react-form-toolkit

v0.1.3

Published

A strongly-typed React form toolkit built on top of React Hook Form with Zod validation. This library provides a simple, flexible, and type-safe way to build forms in React applications.

Readme

Qazuor React Form Toolkit

A comprehensive React form management library built with React Hook Form and Zod.

[!CAUTION] Beta Release: This package is currently in beta. While it's stable for most use cases, there might be breaking changes in future releases.

Features

  • 🎯 Type-safe validation with Zod schemas
  • 🌍 Internationalization support (English, Spanish, Russian, Italian, Portuguese, French, German)
  • 🎨 Tailwind CSS styling with customization options
  • 💅 Comprehensive style system with component-level overrides
  • Framework agnostic (works with Next.js, Remix, etc.)
  • 📦 Tree-shakeable and lightweight
  • 🧩 Conditional fields for dynamic forms
  • 🔄 Dependent fields for cascading selects
  • 🎭 UI library integration with Material UI, Chakra UI, and more

Installation

# npm
npm install @qazuor/react-form-toolkit react-hook-form @hookform/resolvers zod

# yarn
yarn add @qazuor/react-form-toolkit react-hook-form @hookform/resolvers zod

# pnpm
pnpm add @qazuor/react-form-toolkit react-hook-form @hookform/resolvers zod

Basic Setup

In your main css file

[!IMPORTANT] Without this, your tailwind css remove the needed classes and don't style the form.

@layer theme, base, components, utilities;
@import "tailwindcss/theme.css" layer(theme);
@import "tailwindcss/preflight.css" layer(base);
@import "tailwindcss/utilities.css" layer(utilities);

@source "../node_modules/@qazuor/react-form-toolkit/dist/index.js";

/* Optional: Import default styles */
@import "@qazuor/react-form-toolkit/dist/styles.css";

In your app entry point

import '@qazuor/react-form-toolkit/animations.css';

Quick Start

import { FormProvider, FormField, FormButtonsBar } from '@qazuor/react-form-toolkit';
import { z } from 'zod';

const schema = z.object({
  email: z.string().email('Please enter a valid email'),
  password: z.string().min(8, 'Password must be at least 8 characters')
});

function LoginForm() {
  const handleSubmit = async (data) => {
    console.log(data);
    // Submit to your API
  };

  return (
    <FormProvider
      schema={schema}
      onSubmit={handleSubmit}
    >
      <FormField
        name="email"
        label="Email"
        required
      >
        <input type="email" />
      </FormField>

      <FormField
        name="password"
        label="Password"
        required
      >
        <input type="password" />
      </FormField>

      <FormButtonsBar />
    </FormProvider>
  );
}

Documentation

For detailed documentation and examples, visit our documentation site.

Key Components

  • FormProvider: The root component that manages form state and validation
  • FormField: Component for rendering form inputs with validation
  • FormButtonsBar: Component for rendering form action buttons
  • ConditionalField: Component for conditionally rendering form fields
  • DependantField: Component for fields that depend on other fields
  • FieldArray: Component for managing dynamic form arrays

Why React Form Toolkit?

Qazuor React Form Toolkit combines the power of React Hook Form and Zod with a developer-friendly API. It provides:

  • Simplified Form Building: Create complex forms with minimal boilerplate
  • Type Safety: Full TypeScript support with inferred types from Zod schemas
  • Flexible Styling: Works with any UI library or custom styles
  • Advanced Features: Conditional fields, dependent fields, and more
  • Great DX: Intuitive API and comprehensive documentation

Comparison with Other Libraries

| Feature | Qazuor React Form Toolkit | React Hook Form | |---------|-------------------|-----------------| | Schema Validation | ✅ (Zod) | ❌ (requires resolver) | | TypeScript Support | ✅ | ✅ | | UI Components | ✅ | ❌ | | Conditional Fields | ✅ | ❌ | | Dependent Fields | ✅ | ❌ | | Field Arrays | ✅ | ✅ | | Internationalization | ✅ | ❌ | | Style System | ✅ | ❌ |

Future Features/Changes

  • [ ] FormLayouts
  • [ ] MultiStepForm
  • [ ] Form persistence (localStorage, sessionStorage)
  • [ ] Add global context to set Qazuor React Form Toolkit options globally in an app (e.g., styling, translations, error display options)
  • [ ] Improve performance
  • [ ] Integrate async validation with Zod internally
  • [ ] Enhanced accessibility features

Contributing

We welcome contributions! Please see our contributing guidelines for more details.

License

MIT © Qazuor