remotion-dev / skills
remotion-markup
Structure Remotion scenes with markup patterns for layout, typography, and reusable video UI.
Install
npx skills add https://github.com/remotion-dev/skills --skill remotion-markupCropping
Preferably, the cropLeft, cropRight, cropTop and cropBottom props are used to crop content.
It allows for interactively dragging the components and adapting the outlines in the canvas to the crop.
The following components support crop* props:
<Sequence>fromremotion, whenlayout="absolute-fill"<Interactive.*>HTML and SVG elements fromremotion- Custom components made with
Interactive.create()fromremotion, using a managedlayout: 'absolute-fill'root or forwardingstyleto their own visual root <CanvasImage>fromremotion<Img>fromremotion<AnimatedImage>fromremotion<HtmlInCanvas>fromremotion<Solid>fromremotion<Video>from@remotion/media<Gif>from@remotion/gif<RemotionRiveCanvas>from@remotion/rive
Crop values are ratios between 0 and 1.
A value of 0 applies no crop on that edge.
A value of 1 is a full crop.
Keep Interactivity Best Practices (remotion-interactivity skill) also for cropping, to keep it editable and keyframable.
Do not use clipPath together with crop props.