--- title: AspectRatio description: "`AspectRatio` is a component for embedding things like videos and maps while maintaining the aspect ratio." links: - style: https://github.com/yamada-ui/yamada-ui/tree/main/packages/react/src/components/aspect-ratio/aspect-ratio.style.ts - source: https://github.com/yamada-ui/yamada-ui/tree/main/packages/react/src/components/aspect-ratio - storybook: https://yamada-ui.github.io/yamada-ui?path=/story/components-aspectratio--basic --- ```tsx シン・ゴジラ ``` ## Usage ```tsx import { AspectRatio } from "@yamada-ui/react" ``` ```tsx import { AspectRatio } from "@/components/ui" ``` ```tsx import { AspectRatio } from "@workspaces/ui" ``` ```tsx ``` ### Using iframe ```tsx