Add the library
Add it to your module's build.gradle.kts. It comes from Maven Central:
dependencies {
implementation("com.iconoven:iconoven-compose:1.0.0")
}It needs Compose UI 1.7 and minSdk 21, or later.
Use an icon
import com.iconoven.compose.IconOven
import com.iconoven.compose.round.Bell
import com.iconoven.compose.sharp.CreditCard
Icon(IconOven.Round.Bell, contentDescription = "Alerts")
Icon(
IconOven.Sharp.CreditCard,
contentDescription = null,
tint = MaterialTheme.colorScheme.primary,
)IconOven.Round has the round icons and IconOven.Sharp the sharp ones. Leave tint out and the icon takes LocalContentColor, like Material icons.
Size
Each icon is a 24 dp ImageVector, built once and cached. Scale it with a modifier:
Icon(
IconOven.Round.Bell,
contentDescription = "Alerts",
modifier = Modifier.size(32.dp),
)Names
Names match the React components: credit-card is CreditCard and 3d-view is ThreeDView. IconOven.Round.all maps every name to its icon, for pickers. When an icon is renamed, the old name stays as a deprecated property, so your build keeps working.
Pro styles
The Compose library draws the free Stroke style. The other styles with IconOven Pro are for the web, React and design tools. See Pro setup.