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

@buildnbuzz/buzzform

v0.1.5

Published

Simple React form library for shadcn/ui. Declare fields, customize rendering, get live validation with minimal boilerplate.

Readme

BuzzForm

License: MIT

A schema-driven form library for React + shadcn/ui. Declare fields once, get validated forms with minimal boilerplate.

Features

  • 🎯 Schema-Driven – Define fields as data, render forms automatically
  • 🧩 17+ Field Types – Text, password, select, date, upload, arrays, tabs, and more
  • Auto Validation – Generates Zod schemas from your field definitions
  • 🎨 shadcn/ui Native – Beautiful, accessible components out of the box
  • 🔌 Adapter Pattern – Built for React Hook Form, extensible to others
  • 📦 Registry Ready – Install components individually via shadcn CLI

Installation

# Recommended: Install everything with one command
npx shadcn@latest add https://form.buildnbuzz.com/r/starter

This installs @buildnbuzz/buzzform, required peer dependencies (react-hook-form, zod), and all UI components.

npm install @buildnbuzz/buzzform react-hook-form zod
npx shadcn@latest add https://form.buildnbuzz.com/r/starter

Quick Start

"use client";

import { createSchema, type InferType } from "@buildnbuzz/buzzform";
import { Form } from "@/components/buzzform/form";

const schema = createSchema([
  { type: "text", name: "name", label: "Name", required: true },
  { type: "email", name: "email", label: "Email", required: true },
  { type: "password", name: "password", label: "Password", minLength: 8 },
]);

type FormData = InferType<typeof schema>;

export function LoginForm() {
  const handleSubmit = async (data: FormData) => {
    console.log(data);
  };

  return <Form schema={schema} onSubmit={handleSubmit} submitLabel="Sign In" />;
}

Field Types

Data Fields

| Type | Description | | ---------- | -------------------------------------------------------- | | text | Single-line text input | | email | Email input with validation | | password | Password with strength indicator, requirements, generate | | textarea | Multi-line text with auto-resize | | number | Numeric input with steppers, formatting | | date | Date picker with presets | | datetime | Date + time picker | | select | Dropdown with search, multi-select, async options | | checkbox | Boolean checkbox | | switch | Toggle switch | | radio | Radio button group with card variant | | tags | Tag/chip input | | upload | File upload with drag-drop, previews |

Layout Fields

| Type | Description | | ------------- | ---------------------------------------- | | row | Horizontal field layout | | group | Named object container | | collapsible | Expandable section | | tabs | Tabbed interface | | array | Repeatable fields with drag-drop sorting |

Advanced Usage

Conditional Fields

const fields: Field[] = [
  { type: "checkbox", name: "hasCompany", label: "I represent a company" },
  {
    type: "text",
    name: "companyName",
    label: "Company Name",
    condition: (data) => data.hasCompany === true,
  },
];

Dynamic Options

const fields: Field[] = [
  { type: "select", name: "country", label: "Country", options: countries },
  {
    type: "select",
    name: "city",
    label: "City",
    dependencies: ["country"],
    options: async ({ data }) => {
      const cities = await fetchCities(data.country);
      return cities;
    },
  },
];

Custom Validation

const fields: Field[] = [
  {
    type: "text",
    name: "username",
    label: "Username",
    validate: async (value, { data }) => {
      const available = await checkUsername(value);
      return available || "Username is taken";
    },
  },
];

Documentation

Full documentation and examples: form.buildnbuzz.com

License

MIT © Parth Lad / BuildnBuzz