vazco/uniforms
react-jsonschema-form
Our great sponsors
vazco/uniforms | react-jsonschema-form | |
---|---|---|
4 | 30 | |
1,908 | 13,650 | |
1.6% | 1.2% | |
6.5 | 9.0 | |
6 days ago | 3 days ago | |
TypeScript | TypeScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vazco/uniforms
- What UI library would you use to quickly prototype some forms?
-
React Form library for dynamic forms
If you would generate some schema for it (e.g., JSON schema), you could use uniforms. Or you could create a custom schema adapter (called bridge) and also use it. I’m an author and if you’d like to know more, feel free to ask here or directly.
-
Create forms from openapi .json schemas?
Nice. See https://uniforms.tools/ for a React lib that plays nicely with JSON Schema (and other formats)
-
✨ How you build forms with Material-UI? This is the way I do. Link in the first comment.
I am a big fan of the uniforms library. It allows you to automatically create forms from your data model. It works well with Material UI but also supports many other UI frameworks (Ant Design, Semantic UI, ...). So you can choose the way it looks like by just selecting a different theme provider. It also has great support for TypeScript and comes with form validation!
react-jsonschema-form
-
Framework Interoperable Component Libraries Using Lit Web Components.
I've been very passionate about a project called react-jsonschema-form (github, editor). I personally hate writing forms, and love the idea of serializable components, schema, validation all in one. I've always wanted an alternative to this project that offered an alternative to react, and possibly the ability to render a schema form to static HTML (like ssg).
-
6 Reasons why JSON Schema is worth your time
See their playground app for examples of creating schema driven forms in no time.
-
Making a web UI from Haskell/Servant
I've tried with https://github.com/rjsf-team/react-jsonschema-form ,but the performance is poor when dealing with deep nested form with many inputs.
-
Can I build single-page apps with core, like react pages without refreshing the site?
For example, I had a requirement for my team recently to be able to build dynamic form UIs, based off a JSON schema. There are heaps of javscript frameworks for this task e.g. react-jsonschema-form, but nothing in nuget or Blazor is going to help there. So you'd have to write all the logic yourself.
-
Why do React frameworks not have testing as a first class concern in their documentation?
React-json-schema form has plenty of tests, using... it looks like react-dom/test-utils
-
Show HN: A Database Generator for EVM with CRUD and On-Chain Indexing
https://github.com/rjsf-team/react-jsonschema-form
YAML-LD (application/ld+yaml) round-trips to JSON-LD (application/ld+json) which round trips to RDF; so W3C Linked Data Signatures / W3C Verified Claims cryptographic signatures verify regardless of graph representation.
YAML-LD > 3.1 JSON vs YAML comparison: https://json-ld.github.io/yaml-ld/spec/#json-vs-yaml
-
Server Sent UI Schema Driven UIs
React Json Schema Form: https://github.com/rjsf-team/react-jsonschema-form
- How to build forms using the schema-first approach in React
-
How I made my first successful open-source project
The most popular package it is being used in currently is react-jsonschema-form, which currently has 11,876 stars on GitHub
-
Are you building custom input components or build them from scratch in every project?
When I used react I used react-jsonschema-form which was awesome. Instead of writing inputs and forms I wrote the shape of that form in schema (or better yet, had my server send the shape of the form from the endpoint so that the front end required no coding). Unfortunately the vue equivalents never got ported to vue3 (and seem abandoned), so I wrote my own. Now I write stuff like:
What are some alternatives?
compose-state - Compose multiple setState or getDerivedStateFromProps updaters in React
JSONForms - Customizable JSON Schema-based forms with React, Angular and Vue support out of the box.
react-icons - svg react icons of popular icon packs
react-hook-form - 📋 React Hooks for form state management and validation (Web + React Native)
react-select - The Select Component for React.js
formik - Build forms in React, without the tears 😭 [Moved to: https://github.com/jaredpalmer/formik]
react-cool-form - 😎 📋 React hooks for forms state and validation, less code more performant.
SurveyJS - Free Open-Source JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout that lets you load and run multiple web forms, or build your own self-hosted form management system, retaining all sensitive data on your servers. You have total freedom of choice as to the backend, because any server + database combination is fully compatible.
Swiper - Most modern mobile touch slider with hardware accelerated transitions
formily - 📱🚀 🧩 Cross Device & High Performance Normal Form/Dynamic(JSON Schema) Form/Form Builder -- Support React/React Native/Vue 2/Vue 3
openapi-schema-to-json-schema - Converts OpenAPI Schema Object to JSON Schema
react-final-form - 🏁 High performance subscription-based form state management for React