FontIcon
A component that draws the icon iconName using iconFont (with a default value of LocalIconFont. The icon will be size × size dp, and will be tinted with tint. If iconFont is a variable font, weight will applied as a variation setting, or else the font with the nearest weight will be picked.
Parameters
the icon name (can be a single character or a string)
the text used by accessibility services to describe what this icon represents. This should always be provided unless this icon is used for decorative purposes, and does not represent a meaningful action that a user can take. This text should be localized, such as by using org.jetbrains.compose.resources.stringResource or similar
the Modifier to be applied to this icon
the tint to be applied to this icon, by default the value of LocalIconTintProvider, or LocalIconTint if null
the font weight of the icon, by default LocalIconWeight
the icon font used to draw this icon, by default LocalIconFont
A component that draws the icon icon using iconFont (with a default value of LocalIconFont. The icon will be size × size dp, and will be tinted with tint. If iconFont is a variable font, weight will applied as a variation setting, or else the font with the nearest weight will be picked.
Parameters
the icon Unicode character
the text used by accessibility services to describe what this icon represents. This should always be provided unless this icon is used for decorative purposes, and does not represent a meaningful action that a user can take. This text should be localized, such as by using org.jetbrains.compose.resources.stringResource or similar
the Modifier to be applied to this icon
the tint to be applied to this icon, by default the value of LocalIconTintProvider, or LocalIconTint if null
the font weight of the icon, by default LocalIconWeight
the icon font used to draw this icon, by default LocalIconFont