content | string
| -
| |
description | string
| -
| Description text (body medium, secondary color) |
progress | number
| -
| Progress value (0-100), shows progress bar instead of description |
leadingType | "icon" | "avatar" | "image" | "none"
| 'none'
| |
leadingIcon | React.ReactNode
| -
| Leading icon element (when leadingType is 'icon') |
avatarSrc | string
| -
| Avatar props (when leadingType is 'avatar') |
avatarName | string
| -
| |
imageSrc | string
| -
| Image src (when leadingType is 'image') |
trailingType | "text" | "none" | "chevron" | "text-chevron" | "switch" | "checkbox" | "check" | "actions" | "spinner"
| 'none'
| |
trailingText | string
| -
| Trailing text (when trailingType is 'text' or 'text-chevron') |
trailingVariant | "body-md" | "body-lg"
| 'body-md'
| Typography variant for trailing text |
switchChecked | boolean
| -
| |
onSwitchChange | ((checked: boolean) => void)
| -
| |
checkboxChecked | boolean
| -
| |
onCheckboxChange | ((checked: boolean) => void)
| -
| Checkbox onChange handler |
isSelected | boolean
| -
| Check icon visible (for single select) |
actionIcons | React.ReactNode[]
| []
| Action icons (when trailingType is 'actions') |
onActionClick | ((index: number) => void)
| -
| Action icon click handlers |
trailing | React.ReactNode
| -
| |
onClick | (() => void)
| -
| Click handler for the list item |
disabled | boolean
| false
| |
divider | boolean
| false
| |
multiline | boolean
| false
| Allow description to wrap to multiple lines instead of truncating |
className | string
| -
| |