https://github.com/manojadams/ant-forms
Ant design forms using json based schema
https://github.com/manojadams/ant-forms
ant-design ant-forms antd json-forms react
Last synced: 14 days ago
JSON representation
Ant design forms using json based schema
- Host: GitHub
- URL: https://github.com/manojadams/ant-forms
- Owner: manojadams
- Created: 2023-08-07T20:22:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-30T11:16:05.000Z (over 2 years ago)
- Last Synced: 2025-11-03T00:02:02.478Z (6 months ago)
- Topics: ant-design, ant-forms, antd, json-forms, react
- Language: TypeScript
- Homepage:
- Size: 177 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ant-forms (work in prgoress);
Ant design forms using json based schema
## Advantages and features
- Built-in layouting
- Supports custom components
- Easily define field relationships and build advanced forms
## Install
```
npm install ant-forms
```
## Basic Usage
### 1. Define your schema ( and save it as json like schema.json)
```
"fields": [{
"name": "first_name",
"meta": {
"displayType": "text",
"displayName": "First Name"
}
}, {
"name": "last_name",
"meta": {
"displayType": "text",
"displayName": "Last Name"
}
}]
```
```
import React from 'react';
import MuiForms from 'ant-forms';
export function MyForm() {
return (
{
// submit data
}}
/>
);
}
```
## Contributions
Looking for open source contributions.
## License
MIT
## Give a ⭐️ if you liked this project!