[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7254":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":44,"readmeContent":45,"aiSummary":46,"trendingCount":16,"starSnapshotCount":16,"syncStatus":47,"lastSyncTime":48,"discoverSource":49},7254,"Android-Iconics","mikepenz\u002FAndroid-Iconics","mikepenz","Android-Iconics - Use any icon font, or vector (.svg) as drawable in your application.","https:\u002F\u002Fmikepenz.dev",null,"Kotlin",5269,613,153,5,0,1,6,65.46,"Apache License 2.0",false,"develop",true,[25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,7,43],"android","android-compose","android-development","android-icon","android-library","compose","fontawesome","foundation-icons","google-material","google-material-icons","icon-font","java","material","material-components","material-design","material-icons","material-ui","meteocons","weather-icons","2026-06-12 04:00:32","# Android-Iconics\n\n... allows to include any icon font with all its vector icons in your project. No limits. **Scale with no limit**, use **any color** at any time, provide a **contour**, and many additional customizations...\n\n-------\n\n\u003Cp align=\"center\">\n    \u003Ca href=\"#whats-included-\">What's included 🚀\u003C\u002Fa> &bull;\n    \u003Ca href=\"#setup\">Setup 🛠️\u003C\u002Fa> &bull;\n    \u003Ca href=\"MIGRATION.md\">Migration Guide 🧬\u003C\u002Fa> &bull;\n    \u003Ca href=\"FAQ.md\">WIKI \u002F FAQ 📖\u003C\u002Fa> &bull;\n    \u003Ca href=\"#create-custom-fonts\">Custom Font 🖍️\u003C\u002Fa> &bull;\n    \u003Ca href=\"https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.mikepenz.iconics.sample\">Sample App\u003C\u002Fa>\n\u003C\u002Fp>\n\n-------\n\n### What's included 🚀\n- No customization limitations (size, color, contour, background, padding, positioning, ...)\n- Shadow support\n- Use as XML Drawable starting API 24\n- One icon source (no more mdpi, hdpi, ...)\n- Flexibility\n  - Size\n  - Colors\n  - Contour\n  - Shadow\n  - Auto mirroring for RTL (opt-in)\n- If it takes a Drawable, it will also work with the IconicsDrawable!\n- Save in APK size\n- Compose support\n\n**Already available fonts**\n- [Google Material Design Icons](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fmaterial-design-icons)\n- [Google Material Symbols](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fmaterial-design-icons)\n- [Material Design Iconic Font](http:\u002F\u002Fzavoloklom.github.io\u002Fmaterial-design-iconic-font)\n- [Fontawesome](https:\u002F\u002Ffontawesome.com\u002F)\n- [Meteocons](http:\u002F\u002Fwww.alessioatzeni.com\u002Fmeteocons\u002F)\n- [Octicons](https:\u002F\u002Fgithub.com\u002Fgithub\u002Focticons)\n- [Community Material](http:\u002F\u002Fmaterialdesignicons.com\u002F)\n- [Weather Icons](https:\u002F\u002Ferikflowers.github.io\u002Fweather-icons\u002F)\n- [Typeicons](http:\u002F\u002Ftypicons.com\u002F)\n- [Entypo](http:\u002F\u002Fwww.entypo.com\u002F)\n- [Devicon](http:\u002F\u002Fdevicon.fr\u002F)\n- [Foundation Icons](http:\u002F\u002Fzurb.com\u002Fplayground\u002Ffoundation-icon-fonts-3)\n- [Ionicons](http:\u002F\u002Fionicons.com\u002F)\n- [Material Design DX](https:\u002F\u002Fjossef.github.io\u002Fmaterial-design-icons-iconfont\u002F)\n- [Pixeden 7 Stroke](https:\u002F\u002Fthemes-pixeden.com\u002Ffont-demos\u002F7-stroke\u002F)\n- [Phosphor](https:\u002F\u002Fphosphoricons.com\u002F)\n- [Simple Icons](https:\u002F\u002Fsimpleicons.org\u002F)\n- Or create your own font with any icon needed.\n\n# Setup\n\n## Latest releases 🛠\n\n- Kotlin | [v5.5.0](https:\u002F\u002Fgithub.com\u002Fmikepenz\u002FAndroid-Iconics\u002Ftree\u002Fv5.5.0)\n\n## 1. Provide the gradle dependency\n```gradle\ndependencies {\n    \u002F\u002Fthe core iconics library (without any widgets)\n    implementation \"com.mikepenz:iconics-core:${latestAndroidIconicsRelease}\"\n    implementation \"androidx.appcompat:appcompat:${versions.appCompat}\"\n}\n```\n\n## 1b. (optional) Add the view's dependency\n```gradle\n\u002F\u002Fthis adds all ui view widgets (IconicsButton, IconicsImageView, ...)\nimplementation \"com.mikepenz:iconics-views:${latestAndroidIconicsRelease}\"\n```\n\n## 2. Choose your desired fonts\n\n> [!NOTE]\n> Fonts ending with `-kotlin` require at least v4.x of Android-Iconics\n> v5.1.x or newer requires the latest font versions\n\n```gradle\nimplementation 'com.mikepenz:google-material-typeface:4.0.0.3-kotlin@aar'\nimplementation 'com.mikepenz:google-material-typeface-{outlined|rounded|sharp}:4.0.0.2-kotlin@aar'\nimplementation 'com.mikepenz:material-design-iconic-typeface:2.2.0.9-kotlin@aar'\nimplementation 'com.mikepenz:fontawesome-typeface:5.9.0.3-kotlin@aar'\nimplementation 'com.mikepenz:octicons-typeface:11.1.0.1-kotlin@aar'\nimplementation 'com.mikepenz:meteocons-typeface:1.1.0.8-kotlin@aar'\nimplementation 'com.mikepenz:community-material-typeface:7.0.96.1-kotlin@aar' \u002F\u002F note 5.3.45.1 and newer alphabetically sorts, and merges in 3 sections\nimplementation 'com.mikepenz:weather-icons-typeface:2.0.10.8-kotlin@aar'\nimplementation 'com.mikepenz:typeicons-typeface:2.0.7.8-kotlin@aar'\nimplementation 'com.mikepenz:entypo-typeface:1.0.0.8-kotlin@aar'\nimplementation 'com.mikepenz:devicon-typeface:2.0.0.8-kotlin@aar'\nimplementation 'com.mikepenz:foundation-icons-typeface:3.0.0.8-kotlin@aar'\nimplementation 'com.mikepenz:ionicons-typeface:2.0.1.8-kotlin@aar'\nimplementation 'com.mikepenz:pixeden-7-stroke-typeface:1.2.0.6-kotlin@aar'\nimplementation 'com.mikepenz:material-design-icons-dx-typeface:5.0.1.3-kotlin@aar'\nimplementation 'com.mikepenz:phosphor-typeface:1.0.0.1-kotlin@aar'\nimplementation 'com.mikepenz:simple-icons-typeface:17.0.0.3@aar'\n```\n\n> [!NOTE]\n> For users of the version catalog, it is not possible to add the type, however you can do so via\n> the implementation definition.\n> `implementation(libs.material.typeface) { artifact { type = \"aar\" } }`\n\n> [!WARNING]  \n> The fonts use the `jetpack startup` library to automatically register themselves.\n> If `jetpack startup` is disabled,\n> it is required to manually register the fonts. Please find additional details in\n> the [Register fonts](#register-fonts).\n\n\n# Usage\n\n> [!NOTE]  \n> It might be required to call `Iconics.init(applicationContext)` if no context based APIs are used\n> from the library otherwise.\n\n## Use as drawable\n\n```kotlin\nIconicsDrawable(this, FontAwesome.Icon.faw_android).apply {\n    colorInt = Color.RED\n    sizeDp = 24\n}\n```\n\n## Use via XML\n\nIf you use the Iconics library via XML provide the icon you want to use in the following syntax: `gmd-favorite` --> `fontId`-`iconName`. A list of the\navailable fonts and their `fontId` can be found [here](#available-fonts).\nAll icon names from the default fonts can be found via the [DEMO](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.mikepenz.iconics.sample) application.\n\n#### Notation within text\nUse the `{` icon-definer `}` syntax\n```gson\nSome great text with a {faw-android} font awesome icon and {met-wind} meteocons icons.\n```\n\n### Drawable XML (API 24+)\n\nSpecify the drawable in your `drawable` folder.\n\n```xml\n\u003Ccom.mikepenz.iconics.IconicsDrawable\n    xmlns:app=\"http:\u002F\u002Fschemas.android.com\u002Fapk\u002Fres-auto\"\n    app:ico_icon=\"gmd_favorite\"\n    app:ico_color=\"#0000FF\"\n    app:ico_contour_width=\"1dp\"\n    app:ico_contour_color=\"#00FFFF\"\n    app:ico_size=\"24dp\" \u002F>\n    \u002F\u002F all custom theming attributes supported\n```\n\nUse like any normal drawable in your application.\nThis feature was suggested and initially provided by @dzamlo\n\n### Custom Views\n#### As IconicsImageView\n```xml\n\u003Ccom.mikepenz.iconics.view.IconicsImageView\n    android:layout_width=\"72dp\"\n    android:layout_height=\"72dp\"\n    app:iiv_color=\"@android:color\u002Fholo_red_dark\"\n    app:iiv_icon=\"gmd-favorite\" \u002F>  \u002F\u002F or @string\u002Fgmd_favorite with our generator\n    \u002F\u002Fapp:iiv_size=\"12dp\"\n    \u002F\u002Fapp:iiv_padding=\"2dp\"\n    \u002F\u002Fapp:iiv_contour_color=\"#FF0000\"\n    \u002F\u002Fapp:iiv_contour_width=\"2dp\"\n    \u002F\u002Fapp:iiv_background_color=\"#FFFF00\"\n    \u002F\u002Fapp:iiv_corner_radius=\"2dp\"\n    \u002F\u002Fapp:iiv_background_contour_color=\"#FF0000\"\n    \u002F\u002Fapp:iiv_background_contour_width=\"1dp\"\n    \u002F\u002Fapp:iiv_shadow_radius=\"4dp\"\n    \u002F\u002Fapp:iiv_shadow_dx=\"1dp\"\n    \u002F\u002Fapp:iiv_shadow_dy=\"1dp\"\n    \u002F\u002Fapp:iiv_animations=\"spin|blink_alpha|blink_scale\"\n```\n\n#### As IconicsTextView\n```xml\n\u003Ccom.mikepenz.iconics.view.IconicsTextView\n    android:text=\"abc{hif-test}defgh{faw-adjust}ijk{fon-test1}lmnopqrstuv{fon-test2}wxyz\"\n    android:textColor=\"@android:color\u002Fblack\"\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"56dp\"\n    android:textSize=\"16sp\"\u002F>\n```\n\n#### As IconicsButton\n```xml\n\u003Ccom.mikepenz.iconics.view.IconicsButton\n    android:text=\"{faw-adjust} Button\"\n    android:layout_width=\"120dp\"\n    android:layout_height=\"60dp\"\u002F>\n```\n\n## Compose\n\nTo include the experimental compose support in your project add the following dependency to your project (since v5.2.0)\n\n```gradle\nimplementation \"com.mikepenz:iconics-compose:${latestAndroidIconicsRelease}\"\n```\n\nUse the provided `Image` wrapper and set the icon.\n\n```kotlin\nImage(\n    GoogleMaterial.Icon.gmd_access_alarm,\n    colorFilter = ColorFilter.tint(MaterialTheme.colors.primary),\n)\n```\n\n# Screenshots\n\n![Image](https:\u002F\u002Fraw.githubusercontent.com\u002Fmikepenz\u002FAndroid-Iconics\u002Fdevelop\u002FDEV\u002Fgithub\u002Fscreenshots1.jpg)\n\n# Available fonts\n\n| Link                                                                                                              | Prefix          | Dependency                                                                            |\n|-------------------------------------------------------------------------------------------------------------------|-----------------|---------------------------------------------------------------------------------------|\n| [Google Material Design Icons](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fmaterial-design-icons) **ORIGINAL by Google**            | gmd,gmo,gmr,gms | implementation 'com.mikepenz:google-material-typeface{-outlined,rounded,sharp}:+@aar' |\n| [Material Design Iconic Font](http:\u002F\u002Fzavoloklom.github.io\u002Fmaterial-design-iconic-font) **Google Material Iconic** | gmi             | implementation 'com.mikepenz:material-design-iconic-typeface:+@aar'                   |\n| [Fontawesome](https:\u002F\u002Ffontawesome.com\u002F)                                                                           | faw             | implementation 'com.mikepenz:fontawesome-typeface:+@aar'                              |\n| [FontawesomeBrand](https:\u002F\u002Ffontawesome.com\u002F)                                                                      | fab             | implementation 'com.mikepenz:fontawesome-typeface:+@aar'                              |\n| [FontawesomeRegular](https:\u002F\u002Ffontawesome.com\u002F)                                                                    | far             | implementation 'com.mikepenz:fontawesome-typeface:+@aar'                              |\n| [Meteocons](http:\u002F\u002Fwww.alessioatzeni.com\u002Fmeteocons\u002F)                                                              | met             | implementation 'com.mikepenz:meteocons-typeface:+@aar'                                |\n| [Octicons](https:\u002F\u002Fgithub.com\u002Fgithub\u002Focticons)                                                                    | oct             | implementation 'com.mikepenz:octicons-typeface:+@aar'                                 |\n| [Community Material](http:\u002F\u002Fmaterialdesignicons.com\u002F)                                                             | cmd             | implementation 'com.mikepenz:community-material-typeface:+@aar'                       |\n| [Weather Icons](https:\u002F\u002Ferikflowers.github.io\u002Fweather-icons\u002F)                                                     | wic             | implementation 'com.mikepenz:weather-icons-typeface:+@aar'                            |\n| [Typeicons](http:\u002F\u002Ftypicons.com\u002F)                                                                                 | typ             | implementation 'com.mikepenz:typeicons-typeface:+@aar'                                |\n| [Entypo](http:\u002F\u002Fwww.entypo.com\u002F)                                                                                  | ent             | implementation 'com.mikepenz:entypo-typeface:+@aar'                                   |\n| [Devicon](http:\u002F\u002Fdevicon.fr\u002F)                                                                                     | dev             | implementation 'com.mikepenz:devicon-typeface:+@aar'                                  |\n| [Foundation Icons](https:\u002F\u002Fgithub.com\u002Fzurb\u002Ffoundation-icon-fonts)                                                 | fou             | implementation 'com.mikepenz:foundation-icons-typeface:+@aar'                         |\n| [Ionicons](http:\u002F\u002Fionicons.com\u002F)                                                                                  | ion             | implementation 'com.mikepenz:ionicons-typeface:+@aar'                                 |\n| [Pixden7Stroke](http:\u002F\u002Fthemes-pixeden.com\u002Ffont-demos\u002F7-stroke\u002F)                                                   | pe7             | implementation 'com.mikepenz:pixeden-7-stroke-typeface:+@aar'                         |\n| [Material Design DX](https:\u002F\u002Fjossef.github.io\u002Fmaterial-design-icons-iconfont\u002F)                                    | cmf             | implementation 'com.mikepenz:material-design-icons-dx-typeface:+@aar'                 |\n| [Phosphor Icons](https:\u002F\u002Fphosphoricons.com\u002F)                                                                      | pho             | implementation 'com.mikepenz:phosphor-typeface:+@aar'                                 |\n| [Simple Icons](https:\u002F\u002Fsimpleicons.org\u002F)                                                                          | sim             | implementation 'com.mikepenz:simple-icons-typeface:+@aar'                             |\n\nLicenses for all included fonts are linked inside the class or can be found on the coresponding repositories.\n\n# Compatibility Note\n\n### appcompat:1.4.x\n\nAppcompat v1.4.x introduces default enabled emoji support into all `AppCompat*` views, which prevents the `IconicsView*` views (iconics-views module) from properly applying the spannable style.\nTo fix this problem, emoji support has to be disabled by doing:\n\n```xml\napp:emojiCompatEnabled=\"false\"\n```\n\nMore information on the appcompat emoji support: https:\u002F\u002Fdeveloper.android.com\u002Fjetpack\u002Fandroidx\u002Freleases\u002Fappcompat#1.4.0-alpha01\n\n# Advanced Usage\n\n### Register fonts\n\nIf you want to add your own custom font, or a GenericFont you have to register this font (before using it). The best place to do this is the `Application`.\n\nAnd initialize Iconics as you wish\n```kotlin\nclass CustomApplication : Application() {\n    override fun onCreate() {\n        super.onCreate()\n\n        \u002F\u002Fregister custom fonts like this (or also provide a font definition file)\n        Iconics.registerFont(CustomFont())\n    }\n}\n```\n\n### Advanced IconicsBuilder\nEverything is easy and simple. Right? But now you got a single icon within your textview and you need additional styling?\nJust define the style for all icons or only a specific one. You can find this in the PlaygroundActivity of the sample too.\n```kotlin\nIconics.Builder()\n    .style(ForegroundColorSpan(Color.WHITE), BackgroundColorSpan(Color.BLACK), RelativeSizeSpan(2f))\n    .styleFor(FontAwesome.Icon.faw_adjust, BackgroundColorSpan(Color.RED))\n    .on(tv1)\n    .build()\n```\n\n### String icon-key or typeface enum\nSometimes you won't like to use the icon-key (\"faw-adjust\") like this, but use the enum provided by a specific font. Both is valid:\n```kotlin\nIconicsDrawable(this, \"faw-adjust\").actionBar()\n```\n```kotlin\nIconicsDrawable(this, FontAwesome.Icon.faw_adjust).apply {\n    sizeDp = 24\n    paddingDp = 1\n}\n```\n\n## Create custom fonts\nThis is possible with only the *.ttf and *.css mapping file. And will take you 2 minutes.\n\nYou can get these two files by downloading a web icon font, or if you want to create your\nown custom icon font from *.svg files then you can use following tools:\n* [Fontello](http:\u002F\u002Ffontello.com)\n* [IcoMoon](http:\u002F\u002Ficomoon.io) \n* [Fontastic](http:\u002F\u002Fapp.fontastic.me)\n* let me know if you find other tools.\n\nAfter you got those two files, head over to the icon addon creation tool [android-iconics.mikepenz.com](https:\u002F\u002Fandroid-iconics.mikepenz.com).\nEnter all the information. Add the *.ttf and *.css and click the button. It will generate and download the icon font addon as\nzip. (this tool is local only, no files are sent to a server, you can safely use it with any icons)\n\n## String fields for icons\nFor generating string field for each of icons of your font, you can use this simple generator:\n[Android-Iconics String Generator](https:\u002F\u002Fgithub.com\u002FzTrap\u002FAndroid-Iconics-String-Generator)\n\n## Android module generator\n\nA awesome gradle plugin which can automatically fetch a font from Fontastic, and generate the Android Module for your project.\n[Iconics-Font-Generator](https:\u002F\u002Fgithub.com\u002Fligol\u002FIconicsFontGenerator)\n\n# ProGuard \u002F R8\n\nProGuard \u002F R8 rules are bundled internally with each font.\n\n# Special Contributor\n- [Baptiste Lagache](https:\u002F\u002Fgithub.com\u002Fligol) Thanks for the gradle font module generator\n- Also thanks for all the other contributors.\n\n# Credits\n- [Joan Zapata](https:\u002F\u002Fgithub.com\u002FJoanZapata) He is the creator of [Android-Iconify](https:\u002F\u002Fgithub.com\u002FJoanZapata\u002Fandroid-iconify) which gave me the idea of this project. Some core concepts and ideas were reused, but everything is written from scratch.\n- [Christopher Jenkins](https:\u002F\u002Fgithub.com\u002Fchrisjenx\u002F) Thanks for the great usage of a custom `ContextWrapper` inside [Calligraphy](https:\u002F\u002Fgithub.com\u002Fchrisjenx\u002FCalligraphy\u002F)\n- [Stephan Schober](https:\u002F\u002Fgithub.com\u002Ftehfonsi)\n\n# Developed By\n\n- Mike Penz\n  - [mikepenz.dev](https:\u002F\u002Fmikepenz.dev) - [blog.mikepenz.dev](https:\u002F\u002Fblog.mikepenz.dev) - \u003Cmikepenz@gmail.com>\n  - [paypal.me\u002Fmikepenz](http:\u002F\u002Fpaypal.me\u002Fmikepenz)\n  - [Automatic changelog generation action](https:\u002F\u002Fgithub.com\u002Fmarketplace\u002Factions\u002Frelease-changelog-builder)\n\n- Peter Gulko\n  - [github.com\u002FzTrap](https:\u002F\u002Fgithub.com\u002FzTrap)\n\n# License\n\n    Copyright 2021 Mike Penz\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","Android-Iconics 是一个允许在 Android 应用中使用任何图标字体或矢量图标的库。其核心功能包括无限制的自定义选项（如大小、颜色、轮廓等）、阴影支持、以及从 API 24 开始作为 XML Drawable 使用的能力，还支持 Compose。它通过提供统一的图标源减少了 APK 的大小，并且支持多种流行的图标集，如 Google Material Design Icons 和 FontAwesome 等，同时开发者也能创建自己的图标字体。适用于需要高度可定制化图标展示的所有 Android 应用开发场景，特别是追求界面美观和性能优化的应用。",2,"2026-06-11 03:11:24","top_language"]