Name Description Size Coverage
annotation -
badge -
Banner.kt A banner component that displays text-based content, including an optional title and optional positive/negative action buttons. This overload is intended for simple use cases where the banner content consists only of strings rather than full composable slots. It provides a lightweight API for common notification, error, or confirmation patterns. Only the provided elements are shown. If a title is omitted, only the message is displayed. Action buttons are shown only if their corresponding text values (and optionally their click callbacks) are provided. @param messageText The main message text displayed in the banner. This is required. @param modifier The [Modifier] to be applied to the banner container. @param titleText Title displayed above the message. Use this for short, attention-grabbing headings. @param colors Defines the color styling for the banner, including background and content color. Defaults to [BannerColors.bannerColors]. @param border [BorderStroke] drawn around the banner container. @param closeButtonContentDescription The content description for the close button. @param positiveButtonText Label for a positive/confirm action button (e.g., “OK”, “Retry”, “Allow”). If `null`, the button is not shown. @param negativeButtonText Label for a negative/cancel action button (e.g., “Dismiss”, “Cancel”). If `null`, the button is not shown. @param positiveOnClick Callback invoked when the positive button is clicked. @param negativeOnClick Callback invoked when the negative button is clicked. @param onCloseButtonClick Callback invoked when the banner’s close button is clicked. 19245 -
BottomSheetHandle.kt A handle present on top of a bottom sheet. This is selectable when talkback is enabled. @param onRequestDismiss Invoked on clicking the handle when talkback is enabled. @param contentDescription Content Description of the composable. @param modifier The modifier to be applied to the Composable. @param color Color of the handle. 2492 -
button -
Dropdown.kt A dropdown form field that displays a contextual menu to select an item to populate the field. @param label Text to be displayed above the dropdown. @param placeholder The text to be displayed when no [dropdownItems] are selected. @param dropdownItems The [MenuItem.CheckableItem]s that should be shown when the dropdown is expanded. @param modifier Modifier to be applied to the dropdown layout. 8141 -
InfoCard.kt Card for presenting informational messages or errors. @param description The primary piece of text. @param type The [InfoType] of message to display. @param modifier [Modifier] to be applied to the card. @param title The optional header text shown above the description. @param verticalRowAlignment An optional adjustment of how the row of text aligns. @param footer An optional piece of text with a clickable link. @param colors [InfoCardColors] that will be used to resolve the container and content colors for this card. Defaults to the palette for [type] via [InfoCardDefaults.colors]. 9224 -
InfoCardContainer.kt A card container for informative or error messages that can be expanded and collapsed. @param title The title of the card. @param isExpanded Whether or not the card is expanded. @param modifier Modifier to be applied to the card. @param onExpandToggleClick Invoked when the card is expanded or collapsed. @param content The content of the card. 6729 -
LinkText.kt The tag used for links in the text for annotated strings. 11204 -
menu -
modifier -
PagerIndicator.kt An horizontally laid out indicator for a [HorizontalPager] with the ability to leave the trail of indicators to show progress, instead of just showing the current one as active. @param pagerState The state object of your [HorizontalPager] to be used to observe the list's state. @param modifier The modifier to apply to this layout. @param activeColor The color of the active page indicator, and the color of previous page indicators in case [leaveTrail] is set to true. @param inactiveColor The color of page indicators that are inactive. @param leaveTrail Whether to leave the trail of indicators to show progress. This defaults to false and just shows the current one as active. @param spacing The spacing between each pager indicator in [Dp]. 5284 -
progressbar -
PromoCard.kt Card for presenting promotional messages. @param description The optional description text shown in the body of the card. @param modifier The [Modifier] to be applied to the card. @param title The optional header text shown above the [description]. @param footer An optional piece of text with a clickable link. @param illustration Composable slot displayed at the end of the card. Commonly used for illustrations. @param contentSpacing The vertical spacing between the title/message and the actions slot. @param verticalAlignment Vertical alignment of the text content and the [illustration]. Defaults to [Alignment.Bottom]. @param colors Defines the color styling for the card. Defaults to [PromoCardColors.promoCardColors]. @param closeButtonContentDescription The content description for the close button. Ignored when [onDismiss] is null. @param onDismiss Callback invoked when the close button is clicked. When null, the close button is not rendered. 13482 -
RadioCheckmark.kt UI for a radio checkmark. Also known as an option button. @param isSelected Whether the radio checkmark is selected or not. @param modifier [Modifier] to be applied to the radio checkmark. @param colors [RadioCheckmarkColors] to use for styling the radio checkmark. 3393 -
searchbar -
SelectableChip.kt Default layout of a selectable chip. @param text [String] displayed in this chip. @param selected Whether this should be shown as selected. @param modifier [Modifier] used to be applied to the layout of the chip. @param selectableChipColors The color set defined by [SelectableChipColors] used to style the chip. @param onClick Callback for when the user taps this chip. 4906 -
slider -
snackbar -
Switch.kt Switch toggle. @param checked [Boolean] indicating whether the switch is checked or not. @param onCheckedChange Invoked when the switch is clicked. Pass `null` to make the switch non-interactive. @param modifier [Modifier] to be applied to the switch. @param enabled [Boolean] that controls the enabled state of this switch. @param colors [SwitchColors] that will be used to resolve the colors used for this switch in different states. See [SwitchDefaults.colors]. 2690 -
text -
textfield -
theme -
utils -