slot

abstract fun slot(binding: SlotBinding?, highlightable: Boolean, item: Element?, modifier: Modifier, key: ElementKey<*>?): Element(source)

Creates one ordinary or synchronized profile-backed slot element.

Return

an immutable retained-element description whose node owns any resolved binding lifetime.

Parameters

binding

optional declarative locator resolved against the active server menu.

highlightable

whether pointer hover paints the profile highlight.

item

optional portable item-visual child used when no platform item is bound.

modifier

active behavior around the slot.

key

optional stable sibling identity.