data-driven-forms
Material UI
data-driven-forms | Material UI | |
---|---|---|
4 | 290 | |
287 | 91,692 | |
0.0% | 0.5% | |
8.0 | 10.0 | |
24 days ago | 3 days ago | |
JavaScript | TypeScript | |
Apache License 2.0 | MIT License |
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.
data-driven-forms
-
Need to create a form component based on API response
Okay, what you describes called data-driven form, which means you form schema reside somewhere else. I strongly suggest using 3rd party framework such as data-driven form. It will make your life much easier.
-
Is it okay to use a json file set what fields show up in a form?
A longer answer would be yes it is ok BUT what you are doing is coming up with a Domain Specific Language (DSL) for building forms which can be an undertaking both to author and to communicate with other developers. I would suggest using React and javascript to manage the fields if possible and if not look into a library that takes on the task of making a DSL and provides documentation for it (to help communicate to other developers). I found this after a quick search https://data-driven-forms.org/
-
Introducing Material-UI component mapper for Data Driven Forms
Data Driven Forms is a open source React library that uses a data driven approach for building React forms. This approach is based on rendering JSON schemas as React forms with all needed functionality provided by the renderer. It includes features such as validation, conditional fields and many more. It helps web developers to write forms much quicker, simpler and to achieve a consistency across the whole application.
Material UI
- Zero-runtime CSS-in-JS implementation
-
β‘Top GitHub Repositories for UI Components
π Site β GitHub
-
StyleX β Meta's Styling Library
You'll be glad to hear that MUI is zeroing in (pun intended) on a zero runtime solution right now as an alternative to Emotion [0], although that GitHub issue doesn't capture just how far it has come. Expect more soon!
[0] https://github.com/mui/material-ui/issues/38137
-
9 React component libraries for efficient development in 2023
GitHub stars: 89.3k GitHub link: https://github.com/mui/material-ui Documentation: https://mui.com/material-ui/getting-started/
-
13 Must Know Libraries for a React Developer
With GitHub stars of 88K(August 2023) and weekly NPM downloads of 2.9 million(August 2023), MUI is one of the most popular React UI libraries in the world.
-
10 Best Free React UI Libraries in 2023
MUI is a collection of UI tools and component libraries that helps you bring great designs to life in no time. The most popular of these is MUI Core.
- The Ultimate Comparison: Ant Design vs Material# Ant Design vs Material UI: Which React UI Library to Choose
- MUI finally adds "use client" to their components, but...
- React and Vite - Why is still loading other component not imported
-
Please Grill Me On My React "Take Home Assessment"
In the MUI case they have a component. https://github.com/mui/material-ui/blob/master/packages/mui-lab/src/TreeView/TreeView.js#L818
What are some alternatives?
react-hook-form - π React Hooks for form state management and validation (Web + React Native)
mantine - A fully featured React components library
react-jsonschema-form - A React component for building Web forms from JSON Schema.
antd - An enterprise-class UI design language and React UI library
JSONForms - Customizable JSON Schema-based forms with React, Angular and Vue support out of the box.
primereact - The Most Complete React UI Component Library
formik - Build forms in React, without the tears π [Moved to: https://github.com/jaredpalmer/formik]
Tailwind CSS - A utility-first CSS framework for rapid UI development.
formily - π±π 𧩠Cross Device & High Performance Normal Form/Dynamic(JSON Schema) Form/Form Builder -- Support React/React Native/Vue 2/Vue 3
nextui - π Beautiful, fast and modern React UI library.
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.
daisyui - πΌ πΌ πΌ πΌ πΌ βThe most popular, free and open-source Tailwind CSS component library