Skip to main content

Section

Similar to a Container, the Section also enables the use of components within the forms. But the difference is that sections are "collapsed" while containers are not. So, using sections will help keep the form compact and clean.

Each row in a section has three slots/columns. Placing a component auto-arranges them into a row, occupying one or more of these slots based on their size. You can change a component's "Size" attribute (Small, Medium, and Large) to make them occupy fewer or more slots - Small takes up one slot, Medium two, and Large three. So, a row can hold up to three small components, two medium components, or one large component.

note

You can have multiple sections within a form, and each section can be slotted one after another or within one another (component or section). (Adding labels to your sections will help organize the form.)

Example

AStudio

AStudio

API Methods

deleteAsset

Deletes particular asset in the section

deleteAsset(assetId: string, options: { index: number; }): void

importAsset

Imports an asset at a specified path

importAsset(assetId: string, options: { bindPrefix: string; after?: string; }): void