Stylish Connected Chip Item
Immutable data describing a single chip within a Connected Chip layout.
Connected Chip layouts arrange chips horizontally with shared corner geometry (see com.segnities007.stylishui.foundation.ConnectedCorners). The consuming composable iterates over a List<StylishConnectedChipItem> and applies position-aware shapes and outlines. Chips support single- or multi-select patterns via the selected flag.
Two rendering modes
Structured mode (default) — when content is null, the chip renders a fixed row: leadingContent | Text | trailingContent.
Content mode — when content is non-null, it completely replaces the structured row, giving the caller full control over the chip's inner layout. label, leadingContent, and trailingContent are ignored in this mode.
See also
Constructors
Properties
Composable slot rendered before label in structured mode. Ignored in content mode.
The action invoked when the chip is tapped. When null, the chip renders as display-only per the com.segnities007.stylishui.foundation.isActionable contract.
Composable slot rendered after label in structured mode. Ignored in content mode.