<Formdirection="col"gap="16px"onSubmitAction={{ type: "submit_form", payload: { formId: "user-form" } }}><Input name="username" placeholder="Username" /><Input name="password" inputType="password" placeholder="Password" /><Button label="Submit" submit={true} /></Form>

Property Name | Type | Description | Default value |
onSubmitAction | ActionConfig | Action triggered on form submission | - |
Property Name | Type | Description | Default value |
direction | "row" | "col" | Layout orientation | "col" |
children | ChatKitComponent[] | Subcomponent List | - |
align | Alignment | Intersect Alignment Mode | - |
justify | Justification | Main Axis Alignment Mode | - |
wrap | "nowrap" | "wrap" | "wrap-reverse" | Line Break Method | "nowrap" |
flex | number | string | Flex value | - |
gap | number | string | child element spacing | - |
padding | number | string | Spacing | padding | - |
border | number | Border | Borders | Border Configuration | - |
background | string | ThemeColor | Background Color | - |
Property Name | Type | Description | Default value |
height | number | string | height | - |
width | number | string | width | - |
size | number | string | Set both width and height at the same time | - |
minHeight | number | string | minimum height | - |
minWidth | number | string | minimum width | - |
minSize | number | string | minimum size | - |
maxHeight | number | string | max height | - |
maxWidth | number | string | maximum width | - |
maxSize | number | string | maximum size | - |
aspectRatio | number | string | Aspect Ratio | - |
radius | RadiusValue | rounded corners | - |
margin | number | string | Spacing | margin | - |
Feedback