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

@webbycrown/react-formix

v1.0.0

Published

react-formix package

Readme

📦 React Formix – Advanced Form and Step-Form Validation Library

A production-ready, flexible, and developer-friendly form and step-form validation library for React (and Next.js). It provides powerful validation rules, extensibility, and seamless integration into modern applications.

  • ⚛️ React 16.8+ (Hooks) compatible & Next.js friendly
  • 🔒 Built-in validation rules with extensibility
  • 🎯 Lightweight, fast, and easy to integrate
  • 🧑‍💻 Fully controlled with simple API

📦 Installation

npm install @webbycrown/react-formix

or

yarn add @webbycrown/react-formix

🔧 API

Formix(options)

| Option | Type | Description | | ----------------- | -------- | --------------------------- | | initialValues | object | Initial form state | | validationRules | object | Validation rules per field | | onSubmit | function | Callback when form is valid |

✨ Features

Core Features

  • Required validation
  • Email validation
  • Min / Max length
  • Pattern validation
  • Custom validation functions

Advanced Features

  • Real-time validation
  • Field-level validation
  • Form-level validation
  • Async validation support

🎨 UI & Customization

  • Custom HTML error messages (fully flexible UI)
  • Error icon customization (use icons, image)
  • Error image support for visual validation feedback
  • Fully customizable error message styling

🧩 Layout & Form Variants

  • Multiple form layouts (default, custom UI support)
  • Step Form (multi-step form support)
  • Dynamic field rendering
  • Flexible structure for complex forms

⚡ Developer Experience

  • Lightweight and fast
  • Easy integration
  • Reusable validation rules
  • Clean and scalable API

🎨 Styling

import "@webbycrown/react-formix/dist/styles.css";

You can override styles with your own CSS.


Registration Form


🔒 Security

  • Prevents invalid form submission
  • Supports custom validation logic
  • Safe input handling

📚 Compatibility

| Framework | Supported | | --------- | --------- | | React | 16.8+ | | Next.js | 10+ |


🤝 Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.


📄 License

MIT License


💡 Tips

  • Use reusable validation rules
  • Combine with UI libraries (Tailwind, MUI, etc.)
  • Extend with custom validators

🔖 Changelog

1.0.0

  • Initial release ✨
  • Core validation system
  • Form and Step-form support