{"id":13691757,"url":"https://github.com/felipebaltazar/Maui.NeoControls","last_synced_at":"2025-05-02T15:32:58.771Z","repository":{"id":39609776,"uuid":"502756254","full_name":"felipebaltazar/Maui.NeoControls","owner":"felipebaltazar","description":"Controls for dotnet maui based on neumorphism tendency","archived":false,"fork":false,"pushed_at":"2024-02-01T13:53:24.000Z","size":1196,"stargazers_count":96,"open_issues_count":0,"forks_count":11,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-05-01T14:34:11.610Z","etag":null,"topics":["dotnet-maui","dotnetmaui","hacktoberfest","maui","neomorphic","neomorphic-controls","neomorphism","neumorphic","neumorphic-design","neumorphic-ui","neumorphism"],"latest_commit_sha":null,"homepage":"","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/felipebaltazar.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},"funding":{"github":"felipebaltazar","patreon":null,"open_collective":null,"ko_fi":"felipebaltazar","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2022-06-13T00:07:19.000Z","updated_at":"2024-04-25T07:33:25.000Z","dependencies_parsed_at":"2024-02-01T15:01:59.988Z","dependency_job_id":null,"html_url":"https://github.com/felipebaltazar/Maui.NeoControls","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipebaltazar%2FMaui.NeoControls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipebaltazar%2FMaui.NeoControls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipebaltazar%2FMaui.NeoControls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipebaltazar%2FMaui.NeoControls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipebaltazar","download_url":"https://codeload.github.com/felipebaltazar/Maui.NeoControls/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252063140,"owners_count":21688655,"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":["dotnet-maui","dotnetmaui","hacktoberfest","maui","neomorphic","neomorphic-controls","neomorphism","neumorphic","neumorphic-design","neumorphic-ui","neumorphism"],"created_at":"2024-08-02T17:00:50.105Z","updated_at":"2025-05-02T15:32:57.420Z","avatar_url":"https://github.com/felipebaltazar.png","language":"C#","funding_links":["https://github.com/sponsors/felipebaltazar","https://ko-fi.com/felipebaltazar"],"categories":["UI"],"sub_categories":[],"readme":"# Maui.NeoControls\n\nControls for Maui based on neumorphism tendency\n\n [![NuGet](https://img.shields.io/nuget/v/NeoControls.Maui.svg)](https://www.nuget.org/packages/NeoControls.Maui/)\n \n [![Build and publish packages](https://github.com/felipebaltazar/Maui.NeoControls/actions/workflows/PackageCI.yml/badge.svg)](https://github.com/felipebaltazar/Maui.NeoControls/actions/workflows/PackageCI.yml)\n\n## Examples\n\n![neocontrols maui](https://user-images.githubusercontent.com/19656249/173261798-dee8093a-1dad-4e79-a35d-139bfac66fd5.gif)\n\n\n## Getting started\n\n- Install the NeoControls.Maui package\n\n ```\n Install-Package NeoControls.Maui -Version 1.0.17\n ```\n\n- Add UseNeoControls declaration to your MauiAppBuilder\n\n```csharp\npublic static class MauiProgram\n{\n\tpublic static MauiApp CreateMauiApp()\n\t{\n\t\tvar builder = MauiApp.CreateBuilder();\n\t\tbuilder\n\t\t\t.UseMauiApp\u003cApp\u003e()\n\t\t\t.UseNeoControls()\n\t\t\t.ConfigureFonts(fonts =\u003e\n\t\t\t{\n\t\t\t\tfonts.AddFont(\"OpenSans-Regular.ttf\", \"OpenSansRegular\");\n\t\t\t\tfonts.AddFont(\"OpenSans-Semibold.ttf\", \"OpenSansSemibold\");\n    });\n\n\t\treturn builder.Build();\n\t}\n}\n```\n\n\n- Use the controls\n\n```xml\n    \u003cNeoButton Elevation=\".25\"\n               CornerRadius=\"70,20,20,20\"\n               BackgroundColor=\"#e3edf7\"/\u003e\n```\n\n- You can also insert any view inside the neo controls\n\n```xml\n        \u003cNeoButton BackgroundColor=\"#e3edf7\"\u003e\n            \n            \u003cStackLayout Orientation=\"Vertical\"\u003e\n                \u003cImage Source=\"MyImage.png \"/\u003e\n                \u003cLabel Text=\"My Button Label\"/\u003e\n            \u003c/StackLayout\u003e\n            \n        \u003c/NeoButton\u003e\n```\n\n- Background with gradient\n\n```xml\n    \u003cNeoButton\u003e\n        \u003cNeoButton.BackgroundGradient\u003e\n            \u003cLinearGradient Angle=\"45\"\u003e\n                \u003cNeoGradientStop Color=\"Red\" Offset=\"0\" /\u003e\n                \u003cNeoGradientStop Color=\"Yellow\" Offset=\"1\" /\u003e\n            \u003c/LinearGradient\u003e\n        \u003c/NeoButton.BackgroundGradient\u003e\n\n        \u003cStackLayout Orientation=\"Vertical\"\u003e\n            \u003cImage Source=\"MyImage.png \"/\u003e\n            \u003cLabel Text=\"My Button Label\"/\u003e\n        \u003c/StackLayout\u003e\n    \u003c/NeoButton\u003e\n```\n\n## Property reference\n\n| Property            | What it does                                                          | Extra info                                                                 |\n| ------------------- | --------------------------------------------------------------------- | -------------------------------------------------------------------------- |\n| `CornerRadius`      | A `CornerRadius` object representing each individual corner's radius. | Uses the `CornerRadius` struct allowing you to specify individual corners. |\n| `Elevation`         | Set this value to chenge element depth effect.                        |                                                                            |\n| `InnerView`         | View that will be shown inside the neo control.                       |                                                                            |\n| `ShadowBlur`        | Set this value to change shadow blur effect.                          |                                                                            |\n| `ShadowDistance`    | Set this value to change shadow distance relative from control.       |                                                                            |\n| `DarkShadowColor`   | The Dark color that will be applied on draw the dark shadow.          | This will be applied with `Elevation` property, as Alpha parameter.        |\n| `LightShadowColor`  | The White color that will be applied on draw the light shadow.        |                                                                            |\n| `BackgroundGradient`| Draw a gradient on background's control                               | When value != null, backgroundColor Property will be ignored               |\n\n\n![Alt](https://repobeats.axiom.co/api/embed/a296ea840303d4b30b0625c0be98094ba6a12011.svg \"Repobeats analytics image\")\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipebaltazar%2FMaui.NeoControls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipebaltazar%2FMaui.NeoControls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipebaltazar%2FMaui.NeoControls/lists"}