{"id":37040589,"url":"https://github.com/lk-code/fluent-maui","last_synced_at":"2026-01-14T04:48:19.831Z","repository":{"id":153848952,"uuid":"630454539","full_name":"lk-code/fluent-maui","owner":"lk-code","description":"a lot of useful components for .NET MAUI projects","archived":false,"fork":false,"pushed_at":"2025-02-17T15:42:06.000Z","size":354,"stargazers_count":6,"open_issues_count":7,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-02T15:00:00.387Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lk-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"lk-code","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-04-20T12:18:50.000Z","updated_at":"2025-08-21T03:18:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"61ffe5b7-fc20-4dd4-95d5-2f23762a810a","html_url":"https://github.com/lk-code/fluent-maui","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lk-code/fluent-maui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lk-code%2Ffluent-maui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lk-code%2Ffluent-maui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lk-code%2Ffluent-maui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lk-code%2Ffluent-maui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lk-code","download_url":"https://codeload.github.com/lk-code/fluent-maui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lk-code%2Ffluent-maui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28409858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2026-01-14T04:48:19.376Z","updated_at":"2026-01-14T04:48:19.823Z","avatar_url":"https://github.com/lk-code.png","language":"C#","funding_links":["https://github.com/sponsors/lk-code"],"categories":[],"sub_categories":[],"readme":"# FluentMAUI\n\n![FluentMAUI](https://raw.githubusercontent.com/lk-code/fluent-maui/main/resources/project-logo-128px.png)\n\na lot of useful components for .NET MAUI projects\n\nFluent MAUI consists of several nuget libraries. Each library contains components for a specific purpose.\n\n## FluentMaui.UI\n\n**For examples you can view the sample apps. this can be found at the /samples-directory**\n\nFirst you need to initialize FluentMaui.UI in your MauiProgram.cs:\n\n`builder.UseFluentUi(options =\u003e`  \n`{`   \n`});`\n\nIn your App.xaml, add the following lines for the styles:\n\n`xmlns:fmui=\"clr-namespace:FluentMAUI.UI;assembly=FluentMAUI.UI\"`  \n`...`   \n`\u003c!-- add this line for FluentMAUI.UI Styles--\u003e`   \n`\u003cfmui:FluentStyles /\u003e`\n\n### ToggleButton\n\n`xmlns:fmcontrols=\"clr-namespace:FluentMAUI.UI.Controls;assembly=FluentMAUI.UI\"`  \n`...`   \n`\u003cfmcontrols:ToggleButton /\u003e`\n\n#### access via Event\n\n`\u003cfmcontrols:ToggleButton Text=\"ToggleButton with Event\"`   \n` Toggled=\"ToggleButton_OnChecked\" /\u003e`\n\n#### access via Binding\n\n`\u003cfmcontrols:ToggleButton Text=\"ToggleButton with Binding\"`   \n` IsChecked=\"{Binding IsChecked, Mode=TwoWay}\" /\u003e`\n\n#### access via Command\n\nyou can use the EventToCommandBehavior from .NET MAUI Community Toolkit\n\n`\u003cfmcontrols:ToggleButton.Behaviors\u003e`   \n`\u003ctoolkit:EventToCommandBehavior EventName=\"Toggled\"`   \n`Command=\"{Binding ToggleCommand}\"`   \n`EventArgsConverter=\"{StaticResource ToggledEventArgsConverter}\" /\u003e`   \n`\u003c/fmcontrols:ToggleButton.Behaviors\u003e`\n\n**notice:** you can find an example for the EventArgs-Converter (ToggledEventArgsConverter) in the samples-app.\n\n#### ToggleButton Theming\n\n* BackgroundColor: **Color**\n* TextColor: **Color**\n* CheckedBackgroundColor: **Color**\n* CheckedTextColor: **Color**\n\n### WidgetView\n\nThe WidgetView is based on the .NET MAUI Border control. You can use it to add any controls as child elements.\n\n`xmlns:fmcontrols=\"clr-namespace:FluentMAUI.UI.Controls;assembly=FluentMAUI.UI\"`  \n`...`   \n`\u003cfmcontrols:WidgetView /\u003e`\n\n#### WidgetView Theming\n\n* BackgroundStyleType: **BackgroundStyleTypes** (Flat, Gradient) - If the Gradient property is used and the\n  BackgroundColor property has been set, then a gradient is automatically generated as the background. The gradient is\n  based on BackgroundColor and becomes darker towards the bottom (15% by default). Alternatively, the background can be\n  set directly with a brush.\n\n## FluentMaui.Configuration\n\nAn easy way to load appsettings into your .NET MAUI app.\n\nAlso, besides the primary appsettings.json, there is an option to load appsettings per platform and environment (e.g. *\n*appsettings.android.json**, **appsettings.Debug.json** or **appsettings.ios.Release.json**, etc.).\n\nThe filename pattern is as follows: **appsettings.{platform}.{environment}.json** (platform and environment are both\noptional)\n\n**platforms:**\n\n* maccatalyst\n* ios\n* android\n* winui\n\n**environments:**\n\n* Debug\n* Release\n\n### configure\n\n`builder.UseFluentConfiguration(options =\u003e`  \n`{`  \n`// LoadAppsettingsFrom-Assembly is optional for ios, macos, winui BUT REQUIRED on android`  \n`options.LoadAppsettingsFrom = Assembly.GetExecutingAssembly();`  \n`});`\n\n* **LoadAppsettingsFrom:** Define the assembly where the appsettings are located as resource files (EmbeddedResource).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flk-code%2Ffluent-maui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flk-code%2Ffluent-maui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flk-code%2Ffluent-maui/lists"}