Components
Container
A screen-level wrapper: SafeAreaView with flex: 1 and 24px of padding.
There is nothing to configure — it exists so screens do not each re-declare the same safe-area shell.
<Container>
<Text variant="title2">Screen title</Text>
<Text color="tertiary">
Everything inside sits within the safe area, inset by 24px.
</Text>
</Container>Import
import { Container } from '@simal/ui/nativewindui';Props
| Prop | Values | Default | Description |
|---|---|---|---|
children | — | — | Screen content. Container is a SafeAreaView with flex-1 and 24px of padding — it takes no other props, so anything else belongs on the children. |