Maui Safe Area
Per-edge, per-control safe area API for .NET MAUI 10 that replaces legacy iOS-only UseSafeArea and IgnoreSafeArea.
- CCM score
- 74 of 100
- skills.sh installs
- 4.6K
- GitHub stars
- 6.4K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the SafeAreaEdges property, the SafeAreaRegions flags enum, and per-edge control across Android, iOS, and Mac Catalyst
- Includes control defaults for ContentPage, Layout, ScrollView, ContentView, and Border, plus XAML and C# usage patterns
- Documents the .NET 10 breaking change where ContentPage defaults to None, with a
SafeAreaEdges="Container"restore - Designed for upgrading .NET 9 MAUI apps and migrating from
ios:Page.UseSafeAreaorWindowSoftInputModeAdjust.Resize
Install
$ npx -y skills add dotnet/skills --skill maui-safe-area -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Safe Area & Edge-to-Edge Layout (.NET 10+)
.NET 10 introduces a brand-new, cross-platform safe area API that replaces the legacy iOS-only UseSafeArea and the layout-level IgnoreSafeArea properties. The new SafeAreaEdges property and SafeAreaRegions flags enum give you per-edge, per-control safe area management on Android, iOS, and Mac Catalyst from a single API surface.
This is new API surface in .NET 10. If the project targets .NET 9 or earlier, these APIs do not exist. Guide the developer to the legacy
ios:Page.UseSafeAreaandLayout.IgnoreSafeAreaproperties instead.
When to Use
- Content overlaps status bar, notch, Dynamic Island, or home indicator after upgrading to .NET 10
- Implementing edge-to-edge / immersive layouts (photo viewers, video players, maps)
- Keyboard avoidance for chat or form UIs
- Migrating from
ios:Page.UseSafeArea,Layout.IgnoreSafeArea, orWindowSoftInputModeAdjust.Resize - Blazor Hybrid apps that need CSS
env(safe-area-inset-*)coordination - Mixed layouts with an edge-to-edge header but a safe-area-respecting body
When Not to Use
Details
- Repository
- github.com/dotnet/skills
- Categories
- Mobile Apps, .NET & C#
- First seen
- Jun 3, 2026
Questions
What does the maui-safe-area skill help with?
The maui-safe-area skill gives .NET MAUI guidance for safe areas and edge-to-edge layouts on .NET 10 and later. It covers the SafeAreaEdges property, the SafeAreaRegions enum, keyboard avoidance, and platform behavior on Android, iOS, and Mac Catalyst.
Which .NET version does the maui-safe-area skill need?
The skill targets .NET 10 and later, since the SafeAreaEdges and SafeAreaRegions APIs do not exist in .NET 9 or earlier. For projects on .NET 9 or earlier, the skill points to the legacy iOS-specific properties instead.
How do I install the maui-safe-area skill?
Run npx -y skills add dotnet/skills --skill maui-safe-area -y in your project. Once installed, the agent can help you control content placement under the status bar, notch, home indicator, and on-screen keyboard.
How does maui-safe-area fit into the Mobile Apps category?
It sits in the Mobile Apps category alongside skills such as vercel-react-native-skills and animate-expo. Its focus is narrow: safe areas, edge-to-edge layout, and keyboard avoidance in .NET MAUI, not general layout or navigation.
More from dotnet/skills
All 95- System Text Json Net114.5K
- Find Untested Sources4.5K
- Grade Tests4.5K
- Apple Crash Symbolication4.5K
- Fetch And Send Data4.5K
- Author Component4.5K
- Create Blazor Project4.5K
- Property Patterns4.5K
- Collect User Input4.4K
- Coordinate Components4.4K
- Plan Ui Change4.4K
- Item Management4.4K
- Extension Points4.4K
- Convert Blazor Server To Webapp4.4K
- Use Js Interop4.4K
- Setup Local Sdk4.4K
- Support Prerendering4.4K
- Target Authoring4.4K
- Migrate Xunit To Mstest4.3K
- Template Comparison4.2K
- Create Datadriven Aspnetcore4.2K
- Copy To Output Directory4.2K
- Msbuild Server1.5K
- Exp Test Maintainability48
Similar to Maui Safe Area
More Mobile Appsmaui-app-lifecycleSkilldotnet/skills4.7K installsCross-platform Window lifecycle guidance for .NET MAUI, covering state transitions, save and restore patterns, and native hooks.
maui-themingSkilldotnet/skills4.6K installsGuide for theming .NET MAUI apps, light/dark mode via AppThemeBinding, ResourceDictionary theme switching, DynamicResource bindings, system theme detection, and
safe-area-handlingSkillcap-go/capgo-skills1.5K installsComplete safe-area guide for Capacitor covering notches, Dynamic Island, home indicators, and Android cutouts and system bars.
edge-to-edgeSkillandroid/skills4.2K installsMigrate Jetpack Compose apps to adaptive edge-to-edge and fix bars, insets, and IME overlap issues.
dotnet-uiSkillnovotnyllc/dotnet-artisan262 installsCross-framework .NET UI guidance covering framework selection, component patterns, accessibility, and localization across six frameworks.
capacitor-uiPluginCap-go/capgo-skills79 starsMobile UI skills for Ionic, Konsta UI, Tailwind, safe-area handling, and iPad/foldable resizability in Capacitor apps.