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

Card Content

Overview

Card Content Overview

Specs

Tokens

Token Description
displayName Display name in structure panel.
elements Components rendered inside the card content area.
layout Arrangement of elements: horizontal or vertical.
gapClass Spacing between child elements (row/column gaps).
canShrink Allows component to shrink smaller than default size in flex layouts.
canGrow Allows component to grow larger than default size in flex layouts.
dataTestId Testing hook ID for automated testing.

Structure

(Configured in Visual Properties)

(Configured in Visual Properties)

Card Content Structure

Styling

(Configured in Visual Properties)

Visual Properties tab of the Card Content

Tests

(Configured in Testing Hooks)

Links

Guidelines

Usage

Sizing & Layout

Dos & Don’ts

Do Don’t Article setting(s)
Use layout: "vertical" for text-first or sequential content; use "horizontal" for brief side-by-side atoms. Force horizontal when it causes truncation or awkward wrapping. layout
Set defaultHeight and allow canGrow when content can expand. Fix height externally and let content overflow. defaultHeight, canGrow
Enable canShrink only when tighter layouts may need compression. Over-compress so controls wrap unpredictably. canShrink
Define consistent spacing with a single gapClass per content area. Mix ad-hoc spacings or inject spacer elements. gapClass
Give the area a clear authoring label. Leave defaults like “Card Content 1”. displayName
Provide a stable dataTestId for automation. Depend on brittle selectors or visible labels for tests. dataTestId

Accessibility