Skip to content
  • Android
  • iOS
  • Web

Safe Area

Keep content clear of system bars and screen cutouts.

Engine API NSafeAreanayan-ui/components

Live examples

Example.tsx

Content inside the safe area

Top 0 · Right 0 · Bottom 0 · Left 0

Attributes

NSafeArea attributes
NameTypeDefaultDetails
childrenReact.ReactNodeOptional
edgesSafeAreaEdgesOptional
mode"padding" | "margin"Optional
classNamestringOptional
styleStyleProp<ViewStyle>Optional
refRef<ReactNativeElement>Optional

Tags