
Description
This agent skill gives guidance on safe areas and edge-to-edge layout in .NET MAUI apps for .NET 10 and later. It explains the new cross-platform safe area API, which replaces the older iOS-only UseSafeArea and the layout-level IgnoreSafeArea properties. The API is built on the SafeAreaEdges property and the SafeAreaRegions flags enum, which set safe area handling per edge and per control on Android, iOS and Mac Catalyst. The skill covers content that overlaps the status bar, notch, Dynamic Island or home indicator after an upgrade to .NET 10, edge-to-edge screens such as photo viewers, video players and maps, and keyboard avoidance for chat and form screens. It also covers migrating from the older properties, and CSS env(safe-area-inset-*) coordination in Blazor Hybrid apps. The new APIs do not exist in .NET 9 or earlier, so older projects should use the legacy properties instead. It is delivered as instructions for a coding agent that edits your layouts.…
Highlights
- Per-edge safe area control with SafeAreaEdges
- SafeAreaRegions flags per control
- Edge-to-edge layouts for media and maps
- Keyboard avoidance and migration guidance
Ratings & Reviews
No ratings yet
Be the first to rate maui-safe-area.
People also visit
maui-safe-area FAQ
Which .NET versions does it apply to?
.NET 10 and later. On .NET 9 or earlier, the skill points to the legacy ios:Page.UseSafeArea and Layout.IgnoreSafeArea properties.
Which platforms does the new API cover?
Android, iOS and Mac Catalyst, from a single API surface.
Does it cover keyboard avoidance?
Yes, for chat and form interfaces.
How do I install it?
Run npx skills add https://github.com/dotnet/skills --skill maui-safe-area in your project.
What are the best maui-safe-area alternatives?
Popular alternatives to maui-safe-area include dotnet-maui-doctor, maui-app-lifecycle and safe-area-handling. See all maui-safe-area alternatives










