uniforms

repository·master·Indexed 24 days ago

https://github.com/vazco/uniforms

A collection of React libraries for automatic form generation from schema definitions such as Zod, JSON Schema, and SimpleSchema. It supports multiple UI themes including Ant Design, Bootstrap 4, Bootstrap 5, Material UI (MUI), Semantic UI, and unstyled components, and provides tools for custom field creation and both inline and asynchronous form validation.

Tokens
23.1K
Snippets
28
Records
132
Agent score
82%

What's inside uniforms

  1. Overview of uniforms

    master

    uniforms is a set of React libraries designed for building forms automatically from any schema. It provides fields capable of rendering various schema types, supports both inline and asynchronous form validation, and offers a helper for creating custom fields easily.

    Key features include:

    • Automatic form generation based on provided schemas.
    • Schema Integrations: Native support for JSON Schema, SimpleSchema@2, and Zod, with the ability to wrap any other schema type.
    • Theming Options: Ready-to-use themes for Ant Design (AntD), Bootstrap 4, Bootstrap 5, Material UI (MUI), Semantic UI, and plain HTML.
  2. Build the website for production

    master

    To generate static content for the website, run the following command from the root directory. The output will be located in the build directory and can be hosted on any static content hosting service.

    $ pnpm -filter=website run build
  3. Run the website in local development mode

    master

    To start a local development server for the website, run the following command from the root directory. This will open a browser window and support live reloading for most changes.

    $ pnpm -filter=website run start