SkillAgentSearch skills...

MaterialDesignSymbol

Icon font library for Swift. Currently supports GoogleMaterialDesignIcons

Install / Use

/learn @tichise/MaterialDesignSymbol
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

MaterialDesignSymbol

Icon font library for Swift. Currently supports Google Material Design Icons.

Requirements

  • iOS 16.0+
  • watchOS 9.0+
  • Swift 5.0+

Installation

Swift Package Manager

Add via Xcode: File > Add Package Dependencies...

https://github.com/tichise/MaterialDesignSymbol.git

Usage

UIImage

import MaterialDesignSymbol

let symbol = MaterialDesignSymbol(icon: .home48px, size: 30)
let iconImage = symbol.image()

With color:

let symbol = MaterialDesignSymbol(icon: .home48px, size: 30)
symbol.addAttribute(foregroundColor: .red)
let iconImage = symbol.image()

With custom size:

let symbol = MaterialDesignSymbol(icon: .home48px, size: 25)
let iconImage = symbol.image(size: CGSize(width: 50, height: 50))

UILabel

import MaterialDesignSymbol

titleLabel.font = MaterialDesignFont.shared.fontOfSize(20)
titleLabel.text = MaterialDesignIconEnum.home48px.rawValue

SwiftUI

import SwiftUI
import MaterialDesignSymbol

struct ContentView: View {
    var body: some View {
        Image(uiImage: MaterialDesignSymbol(icon: .home48px, size: 30).image())
    }
}

License

Font License

Author: Google Link: https://github.com/google/material-design-icons License: Apache License 2.0

Library License

MIT License

Related Skills

View on GitHub
GitHub Stars95
CategoryCustomer
Updated2mo ago
Forks10

Languages

Swift

Security Score

100/100

Audited on Jan 10, 2026

No findings