Jenga Icon
fun JengaIcon(imageVector: ImageVector, contentDescription: String?, modifier: Modifier = Modifier, tint: Color = Color.Unspecified, size: Dp = JengaTheme.sizing.iconMedium)(source)
Renders an ImageVector icon, sized and tinted from Jenga tokens.
Tint resolution: explicit tint → inherited LocalJengaContentColor → theme JengaTheme.colors.textPrimary. Size defaults to JengaTheme.sizing.iconMedium.
Parameters
image Vector
the icon to draw (e.g. from JengaIcons).
content Description
accessibility label; null marks the icon decorative.
modifier
the Modifier for this icon.
tint
the icon color; Color.Unspecified falls back to content color then theme.
size
the icon's square size; defaults to the medium icon size token.
Samples
JengaIcon(
imageVector = JengaIcons.Check,
contentDescription = "Valid",
)Content copied to clipboard