(this page was created automatically. In case of formatting issues, please visit the official Wiki Page)

Card Collection

Overview

Card Collecrtion Overview

Specs

Tokens

Token Description
displayName Display name in structure panel.
id Unique identifier for programmatic access.
visibilityPolicySetId Policy controlling component visibility.
displayConditions Rules to show/hide the collection.
showHeader Toggles header section visibility.
titleTranslations Localized header title text.
fullWidth Expands collection to full container width.
changeBackgroundOnHover Changes card background on hover.
activeCollapsedTemplate Enables custom collapsed card template.
activeExpandedTemplate Enables custom expanded card template.
columnCount Number of grid columns when fullWidth is enabled.
customHeight Custom container height (px or %).
elements Template components (header, collapsed, expanded).
scrollingEnabled Allows scrolling when content exceeds height.
paddingClass Spacing via CSS classes.
titleKey Data field used as card title.
subtitleKey Data field used as card subtitle.
showLoader Shows loading indicator while fetching data.
emptyDataSourceText Text shown when no data results.
dataSourceId Data source ID for collection data.
getEntityCollectionHttpRequestParametersMap HTTP params map for data requests.
enablePagination Activates server-side pagination.
pageSize Cards per page when pagination enabled.
keyExpression Unique key field for each card.
events Configures component events.
ON_CARD_CLICK (Events) Event when a card is clicked.
ON_GLOBAL_PARAMETERS_CHANGE (Events) Event when global parameters change.
ON_FIRST_CARD_LOADED (Events) Event when first card loads.
ON_INIT (Events) Event on initialization.
ON_DESTROY (Events) Event on removal from DOM.
dataTestId Testing hook ID.
enableAsHotspot Enables guided tour hotspot.
guidedTourHotSpotTitle Guided tour hotspot title (localized).
guidedTourHotSpotDescription Guided tour hotspot description (localized).

Structure

(Configured in General Properties)

(Configured in Visual Properties)

Labled Structure of the Card Collection

(Configured in Visibility)

Datasource

(Configured in Datasource)

Styling

(Configured in Visual Properties)

Visual Properties tab for the Card Collection

(Configured in Datasource)

Actions

(Configured in Events)

Tests

(Configured in Testing Hooks)

Authorization

(Configured in Authorization)

Links

Figma: https://www.figma.com/design/yck1tcUXgdQ5aYX6iUAwrO/GE---Astronaut-Design-System?node-id=11550-252909&t=iosNC2AkSTGs5lMh-1 Live style guide: https://e1-dev.k8s.myapp.de/live-style-guide/id5/4-card/card-collection

Guidelines

Usage

Sizing & Layout

Visibility & Authorization

Dos & Don’ts

Do Don’t
Give the component a meaningful display name for clear identification in the structure panel. Leave a generic or misleading display name that obscures purpose.
Use the “first card loaded” event to start dependent logic after content appears. Rely on timers or polling to guess when data is ready.
Choose a page size that aligns well with your column count (e.g., multiples) to avoid awkward partial rows. Pick arbitrary page sizes that cut rows mid-scan.
Only set a column count when full-width grids are enabled (where the setting applies). Set a column count while full-width is off, expecting it to affect layout.

Accessibility