Artifact

@Composable
fun Artifact(title: String, modifier: Modifier = Modifier, description: String? = null, actions: @Composable RowScope.() -> Unit = {}, content: @Composable () -> Unit)(source)

A generated artifact — a document, code file, chart… (AI Elements <Artifact>): a titled card with header actions and free-form content.