Skip to content

List item

List items are a base for the lists in the selects or modals representing selectable parts.

The highlight behind the row reaches past the text on both sides, into the gutter of the list.

Values from @sbks/ds-elements@4.3.9
PartPropertyToken
RowMinimum height36px
RowGap between content, actions and expand toggle--space-2
HighlightOverhang on each sidecalc(-1 * var(--space-2))
ContentPaddingvar(--space-3) 0
ContentGap between icon, label and status--space-2
LabelVertical margin next to an avatarcalc(-1 * var(--space-2))
BadgeGap to the label--space-2
BadgeVertical margin next to an avatar--space-2
ActionPaddingvar(--space-1) 0
Error messagePaddingvar(--space-3) 0

Selection, hover and focus paint over the highlight background.

Values from @sbks/ds-elements@4.3.9
PartPropertyToken
HighlightBackgroundtransparent