Home

Awesome

Phosphor Icon For Compose Multiplatform

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

Maven Central Version


Install

compose-shadow supports platforms below.

  1. android
  2. ios
  3. desktop(jvm)

in your kotlin module

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

Using

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

Build By Yourself

run first.kts

kotlinc -script first.kts

this script will download phosphor icon origin files from this url in /temp folder. And unzip it, rename all files as

./temp/phosphor-icons/bold/airplane-tilt-bold.svg -> ./temp/phosphor-icons/bold/AirplaneTilt.svg

Download SVG to Compose Intellij Plugin

Generate by SVG To Compose

Sample

<img width="254" alt="image" src="https://github.com/user-attachments/assets/865cb40c-62b1-42c1-b109-b4a053ea9e4a">