Components
grid

grid-item

4min

The grid-item component serves as the child component whenever any grid component has been configured, as discussed in the grid section. The component determines how the grid items are displayed, allowing you to customize the UI elements in the grid.

Configuration options

Some properties are common to all components, see Common component properties for a list and their configuration options.



Core structure



size

Select the size that the grid-item will be displayed in, the options are 1x1,2x2, 2x4, 4x2, 4x4.

children

The following components can be used in the grid-item:

Considerations

  • When using the grid-item with a component.jig-widget, note of the following:
    • A widgetId is required if the referenced includes a widget configuration. This value should match the Widget Name specified in the referenced .
    • If no widget configuration exists, the widget's icon is derived from the 's icon value. If none is specified, a default icon is assigned.

Examples and code snippets 

Grid-items
Grid-items


In this example, three grid items are configured, each with a different size and type.

  1. Grid-item using an image component with a size specified of 4x2.
  2. Grid-item using a list component with a size specified as 2x2. The grid-item automatically shows the list.
  3. Grid-item using a chart widget with a size of 2x2.
grid-item-sales.jigx
list-with-stage-dd
chart-bar1_2x2








Updated 21 Mar 2025
Doc contributor
Did this page help you?