A Swift library for using Ionicons v4 icons in UIKit and SwiftUI with type-safe enums.
IoniconsKit is a Swift library that provides a type-safe, native interface for using Ionicons v4 icons in Apple platform applications. It solves the problem of manually integrating and managing icon fonts by offering Swift enums for all 696 icons, with full support for both UIKit and SwiftUI. Developers can easily display icons as views, images, or label modifiers without dealing with font files or string-based icon names.
iOS, macOS, tvOS, and watchOS developers building SwiftUI or UIKit applications who need a reliable, type-safe way to incorporate the Ionicons icon set into their user interfaces.
Developers choose IoniconsKit for its seamless integration with Swift's type system, which eliminates runtime errors from misspelled icon names, and its first-class support for both modern SwiftUI and legacy UIKit, providing a consistent API across Apple's UI frameworks.
Use Ionicons in your Swift projects.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses Swift enums like .iosHome instead of error-prone strings, preventing runtime crashes from typos as highlighted in the README's key features.
Offers native components for both SwiftUI (e.g., IoniconView) and UIKit (e.g., UIFont extensions), ensuring seamless integration across Apple's UI stacks.
Supports iOS, macOS, tvOS, and watchOS with a single codebase, ideal for building consistent iconography across Apple ecosystems.
Includes both iOS and Material Design variants for all 696 Ionicons v4 icons, providing design flexibility without additional dependencies.
Requires iOS 18+, macOS 26+, tvOS 18+, and watchOS 11+, which excludes apps targeting older or more conservative user bases.
Migration from v1.x to v2.x forced icon renames (e.g., .home to .iosHome), as noted in the README, risking disruption in existing codebases.
Locked into a specific icon set version; if Ionicons updates beyond v4 or if other icon styles are needed, the library offers no native support.