adamglin0/compose-phosphor-icon

A kotlin platform library for using phosphor icon in compose multiplatform.

Kotlin

31

18 commits

updated May 22, 2025

See the code

README

Phosphor Icons for Compose Multiplatform

A Kotlin Multiplatform library for using Phosphor Icons in Compose Multiplatform.

Maven Central Version


Install

This library supports these platforms:

  1. Android
  2. iOS
  3. Desktop (JVM)
  4. Web (JS / WasmJS)

In your Kotlin module:

implementation("com.adamglin:phosphor-icon:$version")

Usage

Icon(imageVector = PhosphorIcons.Bold.AirTrafficControl, contentDescription = null)

Versions

libphosphor-iconCMPKotlin
1.0.02.1.01.7.12.0.21

Build By Yourself

kotlinc -script run.main.kts

what's the script do?

  1. download phosphor-icons-zip
  2. unzip it
  3. reset all path's default size
  4. convert svg to compose path

this script will generate all icons in phosphor/src/commainMain/kotlin

Sample

image

adamglin0/compose-phosphor-icon

A kotlin platform library for using phosphor icon in compose multiplatform.

Kotlin

31

18 commits

updated May 22, 2025

See the code

README

Phosphor Icons for Compose Multiplatform

A Kotlin Multiplatform library for using Phosphor Icons in Compose Multiplatform.

Maven Central Version


Install

This library supports these platforms:

  1. Android
  2. iOS
  3. Desktop (JVM)
  4. Web (JS / WasmJS)

In your Kotlin module:

implementation("com.adamglin:phosphor-icon:$version")

Usage

Icon(imageVector = PhosphorIcons.Bold.AirTrafficControl, contentDescription = null)

Versions

libphosphor-iconCMPKotlin
1.0.02.1.01.7.12.0.21

Build By Yourself

kotlinc -script run.main.kts

what's the script do?

  1. download phosphor-icons-zip
  2. unzip it
  3. reset all path's default size
  4. convert svg to compose path

this script will generate all icons in phosphor/src/commainMain/kotlin

Sample

image