Stylish Connected Card Row
A horizontally connected group of cards that share outlines and corner radii, typically used for side-by-side numeric summaries or KPI tiles.
This is the Finish-layer component: it supplies the Stylish card rendering (DefaultStylishConnectedCardItem) to the headless Structure layout ConnectedCardRow, which owns arrangement and connection geometry. Each card receives equal weight within the row and stretches to the tallest sibling. Outline edges and corner radii are computed automatically from each item's index: the first card rounds only its leading corners, the last card rounds only its trailing corners, and middle cards have square corners with shared vertical outlines. Pass a custom card to override the Stylish rendering while keeping the connected geometry.
Parameters
The list of StylishConnectedCardItem data objects that describe each card's title, supporting text, click actions, and slot content.
The horizontal gap between adjacent cards. Defaults to StylishTheme.dimensions.connectedSpacing (3 dp).
Background color of each card. When null, defaults to MaterialTheme.stylishComponentColors.groupedContainer.
Content color of each card. When null, defaults to an enabled/disabled-aware color.
Background color of each card when its StylishConnectedCardItem.enabled is false.
Content color of each card when its StylishConnectedCardItem.enabled is false.
The TextStyle applied to each card's title.
The TextStyle applied to each card's supporting text.
Maximum number of lines for each card's title. Defaults to 1.
The TextOverflow strategy for each card's title. Defaults to TextOverflow.Ellipsis.
Maximum number of lines for each card's supporting text. Defaults to 1.
The TextOverflow strategy for each card's supporting text. Defaults to TextOverflow.Ellipsis.
Minimum height of each card body. Defaults to DefaultStylishDimensions.cardMinHeight (77 dp).
Horizontal padding inside each card. Defaults to DefaultStylishDimensions.controlPadding (16 dp).
Vertical padding inside each card. Defaults to DefaultStylishDimensions.controlVerticalPadding (12 dp).
Horizontal gap between slots inside each card. Defaults to StylishTheme.dimensions.itemSpacing (8 dp).
Vertical gap between title and supporting text inside each card. Defaults to StylishTheme.dimensions.inlineSpacing (4 dp).
A composable lambda that renders a single card. Receives the item data, a modifier (including weight and fill-max-height), the connected Shape, the outline ConnectedEdges, and the outline ConnectedCorners. Defaults to DefaultStylishConnectedCardItem, which delegates to the StylishConnectedCard atom with the styling parameters above.