# Aspect Ratio URL: /react/components/aspect-ratio Source: https://github.com/daangn/seed-design/blob/dev/docs/content/react/components/aspect-ratio.mdx 가로(width)가 정해지면 비율에 따라 세로(height)가 자동으로 결정되는 레이아웃 컨테이너입니다. 사용 가능 버전: @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 다양한 비율을 지정할 수 있습니다. `1`은 정사각형, `4/3`은 일반적인 사진 비율, `16/9`는 와이드스크린 비율입니다. ```tsx import { AspectRatio, Box, HStack } from "@seed-design/react"; export default function AspectRatioRatio() { return ( 1:1 Square 4:3 16:9 ); } ```