Skip to main content

Custom Collection

Display items in a custom layout.

A customized list of options to select an individual value. It renders each item from an array of data using a custom-built row of components.

Custom Collection

Properties

cardStyle
'flat' | 'elevated'

The style with which to render cards on the layout.

data
object[]

Source data for the component.

gap
'0' │ '4' │ '8' │ 12' │ '16' │ '24' │ 32' │ '48' │ '64' │ '128' │ '256'

The gap between nested components.

hidden
boolean

Whether the component is visible.

id
string

The name of the component.

instances
number

The number of item instances.

padding
object[]

The horizontal and vertical padding applied to the component.

pluginType
string

The component type.

selectedIndex
number | null

The index of the currently selected item.

selectedItem
any

The currently selected item.

showSeparator
boolean

Whether to render a separator between items.