OudsListItemTrailing

Types

Link copied to clipboard
class Badge(count: Int? = null, status: OudsBadgeStatus = OudsBadgeDefaults.Status, size: OudsBadgeSize = OudsBadgeDefaults.Size, enabled: Boolean = true) : OudsListItemBadge, OudsListItemTrailing

A badge as a list item trailing content. Use a Badge to communicate a compact status or notification associated with the item. A badge should contain secondary information and must not replace the primary label or description.

Link copied to clipboard

A custom content as a list item trailing content. Use it for custom trailing content that cannot be represented by other available trailing types. Content provides flexibility for specific product requirements, but it should be used as an exception rather than the default solution.

Link copied to clipboard

An icon as a list item trailing content.

Link copied to clipboard

An image as a list item trailing content.

Link copied to clipboard
class Tag(label: String, enabled: Boolean = true, appearance: OudsTagAppearance = OudsTagDefaults.Appearance, status: OudsTagStatus = OudsTagDefaults.Status, roundedCorners: Boolean = true, size: OudsTagSize = OudsTagDefaults.Size, loader: OudsTagLoader? = null) : OudsListItemTag, OudsListItemTrailing

A tag as a list item trailing content. Use a Tag to communicate a category, attribute, classification or compact status associated with the item (static item) or with the navigation destination (navigation item).

Link copied to clipboard

Text as a list item trailing content.