{"id":13712921,"url":"https://github.com/JimmyPun610/XF.TextIcon","last_synced_at":"2025-05-06T22:31:50.552Z","repository":{"id":34921967,"uuid":"191095769","full_name":"JimmyPun610/XF.TextIcon","owner":"JimmyPun610","description":"Xamarin Forms Library for Icon font","archived":false,"fork":false,"pushed_at":"2022-12-08T07:35:39.000Z","size":1540,"stargazers_count":4,"open_issues_count":4,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-12T14:53:11.984Z","etag":null,"topics":["add-fonts","icon","icon-font","iconfont","label","span","xamarin","xamarin-fonts","xamarin-forms"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JimmyPun610.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-10T04:20:04.000Z","updated_at":"2024-05-31T08:04:36.000Z","dependencies_parsed_at":"2023-01-15T10:30:31.950Z","dependency_job_id":null,"html_url":"https://github.com/JimmyPun610/XF.TextIcon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimmyPun610%2FXF.TextIcon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimmyPun610%2FXF.TextIcon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimmyPun610%2FXF.TextIcon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimmyPun610%2FXF.TextIcon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JimmyPun610","download_url":"https://codeload.github.com/JimmyPun610/XF.TextIcon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252779179,"owners_count":21802899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["add-fonts","icon","icon-font","iconfont","label","span","xamarin","xamarin-fonts","xamarin-forms"],"created_at":"2024-08-02T23:01:24.579Z","updated_at":"2025-05-06T22:31:45.487Z","avatar_url":"https://github.com/JimmyPun610.png","language":"C#","readme":"# XF.TextIcon\nXamarin Forms Library for Icon font\nWorks in Android and iOS\nRequired Xamarin.Forms 3.5.0.274416 or above\n\n# Supporting Font\n1. Ionicon https://ionicons.com/\n2. FontAwesome 5 Free https://fontawesome.com/icons\n3. Icon8 Windows 10 https://github.com/icons8/windows-10-icons\n4. Google Material Icon https://material.io/tools/icons/?style=baseline\n5. IcoFont https://icofont.com/\n\n# Support UI Control\n1. Span\n2. Label\n\n# Setup\n1. Forms Project\n  - Install Nuget Package\n  ```\n  Install-Package XF.TextIcon.Forms -Version 1.0.0.0\n  ```\n\n2. Android Project\n  - Add Fonts to Asset Folder and make sure Build Action is AndroidAsset\n \n3. iOS Project\n  - Add Fonts to Resources folder and make sure Build Action is BundleResource\n  - Insert below to info.plist\n  ```xml\n  \u003ckey\u003eUIAppFonts\u003c/key\u003e\n\t\u003carray\u003e\n\t\t\u003cstring\u003eionicons.ttf\u003c/string\u003e\n    \u003cstring\u003eicons8-win10.ttf\u003c/string\u003e\n    \u003cstring\u003eicofont.ttf\u003c/string\u003e\n    \u003cstring\u003eGoogleMaterial.ttf\u003c/string\u003e\n    \u003cstring\u003eFontAwesome5FreeRegular.otf\u003c/string\u003e\n    \u003cstring\u003eFontAwesome5FreeSolid.otf\u003c/string\u003e\n    \u003cstring\u003eFontAwesome5FreeBrand.otf\u003c/string\u003e\n  \u003c/array\u003e\n ```\n  \n  \n# How to use\nTo use in xaml, you may set the icon as below. The IconName can be check from CheatSheet.\n ```xaml\n   \u003cLabel\u003e\n            \u003cLabel.FormattedText\u003e\n                \u003cFormattedString\u003e\n                    \u003ctexticon:IconSpan IconType=\"IonicIcon\" IconName=\"ion-ios-arrow-round-forward\" FontSize=\"Large\"/\u003e\n                    \u003ctexticon:IconSpan IconType=\"Icon8Win10\" IconName=\"icons8-win10-clipboard\" FontSize=\"Large\"/\u003e\n                    \u003ctexticon:IconSpan IconType=\"IcoFont\" IconName=\"icofont-gift-box\" FontSize=\"Large\"/\u003e\n                    \u003ctexticon:IconSpan IconType=\"GoogleMaterial\" IconName=\"material-add_shopping_cart\" FontSize=\"Large\"/\u003e\n                    \u003ctexticon:IconSpan IconType=\"FontAwesomeBrand\" IconName=\"fontawesome5-free-brand-facebook\" FontSize=\"Large\"/\u003e\n                    \u003ctexticon:IconSpan IconType=\"FontAwesomeRegular\" IconName=\"fontawesome5-free-regular-calendar-check\" FontSize=\"Large\"/\u003e\n                    \u003ctexticon:IconSpan IconType=\"FontAwesomeSolid\" IconName=\"fontawesome5-free-solid-angry\" FontSize=\"Large\"/\u003e\n                \u003c/FormattedString\u003e\n            \u003c/Label.FormattedText\u003e\n        \u003c/Label\u003e\n        \u003ctexticon:IconLabel IconType=\"FontAwesomeSolid\" IconName=\"fontawesome5-free-solid-angry\" FontSize=\"Large\"/\u003e\n  ```\n  \n  \n  \n  # Further improvement\n  Please let me know if any request on different fonts, providing the otf / ttf file will be nice.\n","funding_links":[],"categories":["UI"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJimmyPun610%2FXF.TextIcon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJimmyPun610%2FXF.TextIcon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJimmyPun610%2FXF.TextIcon/lists"}