# Aspect Ratio URL: /react/components/aspect-ratio Source: https://github.com/daangn/seed-design/blob/dev/docs/content/react/components/aspect-ratio.mdx A layout container where once the width is set, the height is automatically determined according to the ratio. 사용 가능 버전: @seed-design/react@1.2.0, @seed-design/css@1.2.0 ## Preview ```tsx import { AspectRatio, Text, VStack } from "@seed-design/react"; export default function AspectRatioPreview() { return ( 4 / 3 1:1 16 / 9 ); } ``` ## Usage ```tsx import { AspectRatio } from "@seed-design/react"; ``` ```tsx ... ``` ## Props ## Examples ### Ratio You can specify various ratios. `1` is a square, `4/3` is a typical photo ratio, `16/9` is a widescreen ratio. ```tsx import { AspectRatio, Box, HStack } from "@seed-design/react"; export default function AspectRatioRatio() { return ( 1:1 Square 4:3 16:9 ); } ```