create_form
Design form structures using its-just-ui components by specifying fields, layout, and validation. Ideal for creating responsive, customizable forms in React applications.
Instructions
Generate a form structure using its-just-ui form components
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| fields | Yes | ||
| includeValidation | No | ||
| layout | No | 
Input Schema (JSON Schema)
{
  "properties": {
    "fields": {
      "items": {
        "properties": {
          "label": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "options": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "placeholder": {
            "type": "string"
          },
          "required": {
            "type": "boolean"
          },
          "type": {
            "enum": [
              "text",
              "email",
              "password",
              "number",
              "select",
              "checkbox",
              "radio",
              "date",
              "color",
              "file"
            ],
            "type": "string"
          }
        },
        "required": [
          "name",
          "type",
          "label"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "includeValidation": {
      "type": "boolean"
    },
    "layout": {
      "enum": [
        "single-column",
        "two-column",
        "inline"
      ],
      "type": "string"
    }
  },
  "required": [
    "fields"
  ],
  "type": "object"
}