AppBanner

fun AppBanner(title: String, description: String, modifier: Modifier = Modifier, icon: ImageVector? = null, containerColor: Color? = null, contentColor: Color? = null)

A banner component for displaying highlighted information or memberships.

Parameters

title

The title text of the banner.

description

The description text of the banner.

modifier

The Modifier to be applied to the banner.

icon

Optional ImageVector to be displayed as a leading icon.

containerColor

Optional background color. Defaults to the theme's tertiary color.

contentColor

Optional content color. Defaults to the theme's onTertiary color.