A React application that dynamically renders forms based on a provided UI schema. Built with React, TypeScript, and Tailwind CSS.
- React: A JavaScript library for building user interfaces.
- TypeScript: A superset of JavaScript that adds static typing to the language.
- Tailwind CSS: A utility-first CSS framework for building modern designs.
.
βββ public
βββ src
β βββ components
β β βββ elements
β β β βββ Input.tsx
β β β βββ Radio.tsx
β β β βββ Select.tsx
β β β βββ Switch.tsx
β β β βββ Toggle.tsx
β β βββ ElementRenderer.tsx
β β βββ ToolTip.tsx
β β βββ UiComponents.tsx
β βββ context
β β βββ Provider.tsx
β βββ types
β β βββ component.ts
β β βββ form.ts
β βββ utils
β β βββ parse-label.ts
β βββ App.css
β βββ App.tsx
β βββ index.tsx
β
β
βββ .gitignore
βββ tailwind.config.js
βββ package.json
βββ README.md
Provide JSON Schema:
- Upon accessing the application, you'll see a screen with a text bar on the left side.
- In the text bar, paste or provide your JSON schema for the form.

Generate Form:
- After providing the JSON schema, press the "Generate Form" button.
- On the right side, a form will be dynamically rendered based on the provided schema.

Complete the Form:
- The rendered form will contain fields based on the JSON schema.
- Fill in the required details using your preferences, for example, choose between Naples Style Pizza and New York Style Pizza.

Submit the Form:
- Once you have provided the necessary details, click the "Submit" button.
- After submission, a modal will appear displaying the JSON details of your order.

For Pasta Form Choose the JSON

