React
Uses the CSS aspect-ratio property and inherits Box token props.

import { AspectRatio } from "@hozorica/hods-react";import { AspectRatio } from "@hozorica/hods-react-native";numberWidth divided by height. Defaults to 1.DimensionToken | number | stringSet width and let height be derived from ratio.ColorTokenSemantic background color token inherited from Box.RadiusToken | 0Corner radius token inherited from Box.hidden | auto | visible | scrollDefaults to hidden for media clipping.ElementType / booleanWeb-only polymorphism inherited from Box.Uses the CSS aspect-ratio property and inherits Box token props.
Uses React Native aspectRatio style and inherits Box token props.
<AspectRatio ratio={16 / 9} width="full" bg="bg.neutralWeak" borderRadius="r2"><img src="..." alt="" /></AspectRatio>