View
Atom
The layout primitive: a flex container that runs identically on iOS, Android, and the web. A View is a column by default.
Playground
Every control sets a real prop of ViewProps. The JSX below updates as you go.
Web
iOS
Android
JSX · ViewProps
Variants
3 examples from src/atoms/view/view.md, each rendered live from its own JSX.
Anatomy
1
View
2
Child view
Dimmed parts appear only in some states or variants.
Props
A React Native primitive, re-exported as is.
Accepts every React Native View prop unchanged. Canvas re-exports it so every component is built from the same primitive.
Accessibility and keyboard
Keyboard
Not focusable. It has no interaction of its own and takes the semantics of what it wraps.
Semantics
No role of its own in source; it reads as the content it renders.
Platform skins
The playground's props on each platform: same tree, native shapes, type and touch sizes.
Usage
Reach for it directly only when no semantic primitive covers what you need: arrangement (direction, gap, alignment, padding) belongs to Row and Column, which are Views with that axis exposed as boolean props, and a bordered filled surface belongs to Card. Numbers are density-independent pixels.
Tokens
Read from the playground render. Values follow the scheme and the ion hue.
--fd
--fm
--ft
--ion-ring
--ion-soft
--ion-tx
--ln
--sf2