Package-level declarations

Functions

Link copied to clipboard
fun TileSchemaBuilderScope.AssistChip(id: String = randomId(), events: EventSchemaBuilderScope.() -> Unit = {}, style: StyleSchemaBuilderScope.() -> Unit = { size( width = wrapHorizontally(), height = wrapVertically() ) }, visibility: TileSchema.Visibility = visible(), searchableTerms: List<String>? = null, text: String, leadingIcon: IconSchema? = null, trailingIcon: IconSchema? = null, enabled: Boolean = true, variant: AssistChipTileSchema.Variant = defaultAssistChip())

Renders a Material 3 assist chip displaying text as its label, with optional leadingIcon and trailingIcon. variant picks the visual style — default (outlined) or elevated. The chip is stateless (no selected state) and both icons are purely decorative — tapping either fires the same chip-level onClick. Dispatches onClick when tapped.

Link copied to clipboard

Default assist chip variant — outlined.

Link copied to clipboard

Default filter chip variant — outlined.

Link copied to clipboard

Default suggestion chip variant — outlined.

Link copied to clipboard

Elevated assist chip variant — shadowed surface-colored background.

Link copied to clipboard

Elevated filter chip variant — shadowed surface-colored background.

Link copied to clipboard

Elevated suggestion chip variant — shadowed surface-colored background.

Link copied to clipboard
fun TileSchemaBuilderScope.FilterChip(id: String = randomId(), events: EventSchemaBuilderScope.() -> Unit = {}, style: StyleSchemaBuilderScope.() -> Unit = { size( width = wrapHorizontally(), height = wrapVertically() ) }, visibility: TileSchema.Visibility = visible(), searchableTerms: List<String>? = null, text: String, selected: Boolean = false, leadingIcon: IconSchema? = null, trailingIcon: IconSchema? = null, enabled: Boolean = true, variant: FilterChipTileSchema.Variant = defaultFilterChip())

Renders a Material 3 filter chip with a toggleable selected state, text as its label and optional leadingIcon / trailingIcon. variant picks the visual style — default (outlined) or elevated. Tapping the chip flips selected locally on the client (no round trip needed for the new value to take effect), then dispatches onCheck (when it becomes selected) or onUncheck (when it becomes unselected), always followed by onCheckChanged. The current selected value can be read from this tile by its id via GetData.

Link copied to clipboard
fun TileSchemaBuilderScope.InputChip(id: String = randomId(), events: EventSchemaBuilderScope.() -> Unit = {}, style: StyleSchemaBuilderScope.() -> Unit = { size( width = wrapHorizontally(), height = wrapVertically() ) }, visibility: TileSchema.Visibility = visible(), searchableTerms: List<String>? = null, text: String, selected: Boolean = false, leadingIcon: IconSchema? = null, trailingIcon: IconSchema? = null, enabled: Boolean = true)

Renders a Material 3 input chip with a toggleable selected state, text as its label and optional leadingIcon / trailingIcon. Tapping the chip flips selected locally on the client (no round trip needed for the new value to take effect), then dispatches onCheck (when it becomes selected) or onUncheck (when it becomes unselected), always followed by onCheckChanged. The trailing icon is decorative — tapping anywhere on the chip toggles it. The current selected value can be read from this tile by its id via GetData.

Link copied to clipboard
fun TileSchemaBuilderScope.SuggestionChip(id: String = randomId(), events: EventSchemaBuilderScope.() -> Unit = {}, style: StyleSchemaBuilderScope.() -> Unit = { size( width = wrapHorizontally(), height = wrapVertically() ) }, visibility: TileSchema.Visibility = visible(), searchableTerms: List<String>? = null, text: String, icon: IconSchema? = null, enabled: Boolean = true, variant: SuggestionChipTileSchema.Variant = defaultSuggestionChip())

Renders a Material 3 suggestion chip displaying text as its label, with an optional leading icon. variant picks the visual style — default (outlined) or elevated. The chip is stateless (no selected state) and icon is decorative only. Dispatches onClick when tapped.