Skip to content

🎥 Make videos programmatically with React

Avoid unnecessary AbsoluteFill wrappers in markup skills

Jonny Burger1d0092eecd3b
diff --git a/packages/skills/skills/remotion-markup/light-leaks.md b/packages/skills/skills/remotion-markup/light-leaks.md
index 4ef8c0b15c..c000a07560 100644
--- a/packages/skills/skills/remotion-markup/light-leaks.md
+++ b/packages/skills/skills/remotion-markup/light-leaks.md
@@ -93,13 +93,11 @@ import {TransitionSeries} from '@remotion/transitions';
The overlay component can also be used outside of `<TransitionSeries>` as a decorative layer in any composition:
```tsx
-import {AbsoluteFill} from 'remotion';
-
const MyComp: React.FC = () => (
- <AbsoluteFill>
+ <>
<MyContent />
<LightLeakOverlay seed={3} />
- </AbsoluteFill>
+ </>
);
```
diff --git a/packages/skills/skills/remotion-markup/sequencing.md b/packages/skills/skills/remotion-markup/sequencing.md
index 6031488333..74e080ad63 100644
--- a/packages/skills/skills/remotion-markup/sequencing.md
+++ b/packages/skills/skills/remotion-markup/sequencing.md
@@ -15,10 +15,10 @@ for registering them with their own Studio timelines.
```tsx
// Title and Subtitle are exported with Interactive.withSchema({wrapInSequence: true}).
-<AbsoluteFill>
+<>
<Title name="Title" from={30} durationInFrames={60} />
<Subtitle name="Subtitle" from={60} durationInFrames={60} />
-</AbsoluteFill>
+</>
```
Use an explicit `<Sequence>` when multiple siblings need one shared clock,