fluentui-system-icons

Fluent UI System Icons - Kotlin Multiplatform

Maven Central License Kotlin Compose

Note: This is a fork of the original Microsoft FluentUI System Icons repository, specifically created to provide Kotlin Multiplatform and Compose Multiplatform support.

Fluent UI System Icons are a collection of familiar, friendly and modern icons from Microsoft, now available for Kotlin Multiplatform projects with full Compose Multiplatform support.

Fluent System Icons

🌐 Interactive Web Catalog

Browse and copy icons with our interactive web catalog: Open Catalog

✨ Features:

Installation

Add to your gradle/libs.versions.toml:

[versions]
fluentui-icons = "${latest_version}"

[libraries]
fluentui-system-icons = { module = "io.github.niyajali:fluentui-system-icons", version.ref = "fluentui-icons" }

Then in your module’s build.gradle.kts:

kotlin {
    sourceSets {
        commonMain.dependencies {
            implementation(libs.fluentui.system.icons)
        }
    }
}

Usage

Basic Usage

@Composable
fun MyScreen() {
    Column(
        modifier = Modifier.padding(16.dp),
        verticalArrangement = Arrangement.spacedBy(8.dp)
    ) {
        // Filled style icons
        Icon(
            imageVector = FluentIcons.Filled.Home,
            contentDescription = "Home"
        )

        Icon(
            imageVector = FluentIcons.Filled.Settings,
            contentDescription = "Settings"
        )

        // Regular style icons
        Icon(
            imageVector = FluentIcons.Regular.Mail,
            contentDescription = "Mail"
        )

        Icon(
            imageVector = FluentIcons.Regular.Calendar,
            contentDescription = "Calendar"
        )

        // In buttons
        Button(onClick = { }) {
            Icon(FluentIcons.Filled.Add, contentDescription = null)
            Spacer(Modifier.width(8.dp))
            Text("Add Item")
        }
    }
}

Available Styles

Supported Platforms

βœ… Android (Jetpack Compose)
βœ… iOS (Compose Multiplatform)
βœ… Desktop (Windows, macOS, Linux)
βœ… Web (Compose for Web (JS/WasmJS))

What’s New

🎯 Full Compose Multiplatform support for all platforms
πŸš€ Type-safe icon references with IntelliSense support
πŸ“¦ Single dependency for all platforms
🌐 Interactive web catalog for easy discovery
🎨 Consistent API across all platforms
⚑ Optimized bundle size with tree-shaking support

Contributing

We welcome contributions! Please feel free to open an issue with questions or requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

Please feel free to open a GitHub issue and assign to the following points of contact with questions or requests.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.