SafeAreaInset
An accessory that reserves space at a safe edge of its content.
tsx
import { SafeAreaInset, Button, LabeledContent } from '@satinhq/kit'Example
Reserve an edge
Wrap the main content in SafeAreaInset. Pass the accessory to content and choose top or bottom.
Adjust safe-area layout
Use SafeAreaPadding, ContentMargins, SafeAreaBar or IgnoresSafeArea to control content placement. Components consume framework geometry; they do not need viewport-height or raw safe-area CSS.
API
Scroll horizontally to read every column.
| Prop | Type | Description |
|---|---|---|
edge | 'top' | VerticalEdge` | The accessory edge. |
content | ReactNode | The accessory. |
children | ReactNode | The content whose safe area changes. |
spacing | number | Optional gap between accessory and content. |
Related: Quick start, List, Screen.
:::