Tier D2
RN-universal AspectRatio pilot
ScaffoldedConstrain a child to a width:height ratio. No Radix — a single View with CSS `aspect-ratio` on web and the native `aspectRatio` style prop on iOS/Android. Same input, two platforms.
Side-by-side: 16:9
shadcn (Radix)
RN
Common ratios
1:1 square
4:3 classic
16:9 widescreen
21:9 ultrawide
Semantics
| Aspect | shadcn (Radix) | RN | Notes |
|---|---|---|---|
| Element | <div style={{paddingTop:…}}> | <View style={{aspectRatio}}> | RN uses the native style prop; web uses CSS |
| Dependency | @radix-ui/react-aspect-ratio | none | Trivial layout primitive; Radix adds no value here |
| Native | n/a | works on iOS + Android | aspectRatio is first-class in React Native |