Skip to main content

Input Props

Input props are data that can be passed to a render in order to parametrize the video. They can be obtained in two ways:

  • This data is passed as actual React props to the component that you defined in your composition
  • Using the getInputProps() function, you can retrieve the props even outside your component, for example to dynamically change the duration or dimensions.

In the Remotion Studio, you can set default props to serve as placeholder data for designing your video. If your input props don't override the default props, the default props will be used. See: How props get resolved

In the Remotion Player, there are no default props, but you can pass inputProps directly to the <Player>.