attrs

fun Modifier.attrs(vararg attrValues: Pair<String, String>): Modifier(source)

A convenience method for defining multiple, general attribute key/value pairs.

For example:

Modifier.attrs("src" to "cat.jpg", "alt" to "A close-up of the face of a tabby cat.")