MaterialDesignSymbol
Icon font library for Swift. Currently supports GoogleMaterialDesignIcons
Install / Use
/learn @tichise/MaterialDesignSymbolREADME
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
openhue
341.2kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
341.2kElevenLabs text-to-speech with mac-style say UX.
weather
341.2kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.5kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
