Back to Remotion

Layout

packages/docs/docs/recorder/editing/layout.mdx

4.0.462575 B
Original Source

import { Layout } from "../../../components/recorder/layout";

Layout

There is currently a landscape and a square layout you can choose from to define the aspect ratio of your video.

<div style={{ display: "flex", justifyContent: "space-around", gap: 10, alignItems: "center", maxWidth: "72rem", }} > <Layout type={"landscape"} aspectWidth={16} aspectHeight={9} /> <Layout type={"square"} aspectWidth={1} aspectHeight={1} /> </div>

To change the layout, change the canvasLayout property in the right sidebar.