Package-level declarations
Functions
Link copied to clipboard
fun TileSchemaBuilderScope.Badge(id: String = randomId(), events: EventSchemaBuilderScope.() -> Unit = {}, style: StyleSchemaBuilderScope.() -> Unit = {}, visibility: TileSchema.Visibility = visible(), searchableTerms: List<String>? = null, content: String? = null)
Renders a Material 3 badge. When content is non-null it is shown as the badge's text label and the badge takes its larger, pill-shaped form; when null the badge is the small empty dot. This is a standalone badge, not attached to a sibling tile — position it yourself, e.g. inside a Box aligned over the tile it decorates. Dispatches no triggers and is not clickable.