withMaterial3A2ui

fun AguiComponents.withMaterial3A2ui(host: A2uiHost, registry: ComponentRegistry = Material3Components.Basic, onMessage: (RendererToAgentMessage) -> Unit = {}, placeholder: A2uiPlaceholder = NoPlaceholder, toolNames: Set<String> = setOf(AguiA2ui.RENDER_TOOL_NAME)): AguiComponents

withA2ui with Material 3 filled in: the basic catalog's renderers and Material3A2uiPending.

Parameters

registry

the component renderers. Defaults to the basic catalog; a host with its own catalog passes Material3Components.Basic.with(...), keeping the basic ones underneath.