Skip to content

🎥 Make videos programmatically with React

Use consistent inherited Sequence prop documentation

Jonny Burgerf1a5fa598f55
diff --git a/packages/docs/components/shapes/shapes-info.tsx b/packages/docs/components/shapes/shapes-info.tsx
index 967e499772..ef15e1e1b7 100644
--- a/packages/docs/components/shapes/shapes-info.tsx
+++ b/packages/docs/components/shapes/shapes-info.tsx
@@ -571,47 +571,32 @@ export const ShapeOptions: React.FC<{
</a>{' '}
from <a href="/docs/sequence">{'<Sequence>'}</a>.
</p>
- <h3 id="premountfor">
- <code>premountFor?</code>
- <AvailableFrom v="4.0.528" />
- </h3>
- <p>
- Mounts the shape before its <code>from</code> frame, transparent and
- frozen at its first frame. Defaults to <code>0</code> frames in v4
- and <code>fps</code> (1 second) in v5. See{' '}
- <a href="/docs/player/premounting">premounting</a>.
- </p>
- <h3 id="postmountfor">
- <code>postmountFor?</code>
- <AvailableFrom v="4.0.528" />
- </h3>
<p>
- Keeps the shape mounted after its duration ends, transparent and
- frozen at its last frame. Defaults to <code>0</code> frames.
- Requires a finite <code>durationInFrames</code>.
- </p>
- <h3 id="stylewhilepremounted">
- <code>styleWhilePremounted?</code>
- <AvailableFrom v="4.0.528" />
- </h3>
- <p>
- CSS styles applied while premounted. Defaults to no overrides.
- Overrides <code>style</code> and the default <code>opacity: 0</code>{' '}
- and <code>{"pointerEvents: 'none'"}</code>.
- </p>
- <h3 id="stylewhilepostmounted">
- <code>styleWhilePostmounted?</code>
- <AvailableFrom v="4.0.528" />
- </h3>
- <p>
- CSS styles applied while postmounted. Defaults to no overrides.
- Overrides <code>style</code> and the default <code>opacity: 0</code>{' '}
- and <code>{"pointerEvents: 'none'"}</code>.
+ From <AvailableFrom v="4.0.528" inline />, it also inherits{' '}
+ <a href="/docs/sequence#premountfor">
+ <code>premountFor</code>
+ </a>
+ {', '}
+ <a href="/docs/sequence#postmountfor">
+ <code>postmountFor</code>
+ </a>
+ {', '}
+ <a href="/docs/sequence#stylewhilepremounted">
+ <code>styleWhilePremounted</code>
+ </a>
+ {' and '}
+ <a href="/docs/sequence#stylewhilepostmounted">
+ <code>styleWhilePostmounted</code>
+ </a>
+ {' from '}
+ <a href="/docs/sequence">
+ <code>{'<Sequence>'}</code>
+ </a>
+ .
</p>
<p>
- Premounting and postmounting apply in the Player and Studio, and are
- disabled during rendering. The styles apply to the SVG element, or
- the canvas when using <code>effects</code>.
+ Premounting styles apply to the SVG element, or the canvas when
+ using <code>effects</code>.
</p>
<h3>Other props</h3>{' '}
<p>
diff --git a/packages/docs/docs/absolute-fill.mdx b/packages/docs/docs/absolute-fill.mdx
index fd652f1046..76a1db81c9 100644
--- a/packages/docs/docs/absolute-fill.mdx
+++ b/packages/docs/docs/absolute-fill.mdx
@@ -51,6 +51,8 @@ The layers that get rendered last appear on top - this is because of how HTML wo
`<AbsoluteFill>` inherits [`from`](/docs/sequence#from), [`durationInFrames`](/docs/sequence#durationinframes), [`trimBefore`](/docs/sequence#trimbefore), [`playbackRate`](/docs/sequence#playbackrate), [`freeze`](/docs/sequence#freeze), [`hidden`](/docs/sequence#hidden), [`name`](/docs/sequence#name) and [`showInTimeline`](/docs/sequence#showintimeline) from [`<Sequence>`](/docs/sequence).
+From <AvailableFrom v="4.0.528" inline />, it also inherits [`premountFor`](/docs/sequence#premountfor), [`postmountFor`](/docs/sequence#postmountfor), [`styleWhilePremounted`](/docs/sequence#stylewhilepremounted) and [`styleWhilePostmounted`](/docs/sequence#stylewhilepostmounted) from [`<Sequence>`](/docs/sequence).
+
It is registered as a layer in the [Remotion Studio](/docs/studio) timeline.
:::note
@@ -69,24 +71,6 @@ export const MyComp: React.FC = () => {
};
```
-### `premountFor?`<AvailableFrom v="4.0.528" />
-
-Mounts the component before its `from` frame, keeping it transparent and frozen at its first frame so assets can load. The value is a number of frames. Defaults to `0` in v4 and `fps` (1 second) in v5. See [premounting](/docs/player/premounting).
-
-### `postmountFor?`<AvailableFrom v="4.0.528" />
-
-Keeps the component mounted after its duration ends, transparent and frozen at its last frame. Defaults to `0` frames. Requires a finite `durationInFrames`.
-
-### `styleWhilePremounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while premounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-### `styleWhilePostmounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while postmounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-Premounting and postmounting apply in the [Player](/docs/player) and [Studio](/docs/studio), and are disabled during rendering. They do not add a wrapper element.
-
### `ref?`
You can add a [React ref](https://react.dev/learn/manipulating-the-dom-with-refs) to an `<AbsoluteFill>` from version `v3.2.13` on. If you use TypeScript, type it with `HTMLDivElement`:
diff --git a/packages/docs/docs/interactive.mdx b/packages/docs/docs/interactive.mdx
index 567280a641..99c1c80d89 100644
--- a/packages/docs/docs/interactive.mdx
+++ b/packages/docs/docs/interactive.mdx
@@ -201,6 +201,8 @@ The prop type matching `Interactive.premountSchema`.
Every `Interactive` component inherits [`durationInFrames`](/docs/sequence#durationinframes), [`from`](/docs/sequence#from), [`trimBefore`](/docs/sequence#trimbefore), [`playbackRate`](/docs/sequence#playbackrate), [`freeze`](/docs/sequence#freeze), [`hidden`](/docs/sequence#hidden), [`name`](/docs/sequence#name) and [`showInTimeline`](/docs/sequence#showintimeline) from [`<Sequence>`](/docs/sequence).
+From <AvailableFrom v="4.0.528" inline />, it also inherits [`premountFor`](/docs/sequence#premountfor), [`postmountFor`](/docs/sequence#postmountfor), [`styleWhilePremounted`](/docs/sequence#stylewhilepremounted) and [`styleWhilePostmounted`](/docs/sequence#stylewhilepostmounted) from [`<Sequence>`](/docs/sequence).
+
Every `Interactive` component also supports [`cropLeft`](/docs/sequence#cropleft), [`cropRight`](/docs/sequence#cropright), [`cropTop`](/docs/sequence#croptop) and [`cropBottom`](/docs/sequence#cropbottom) from <AvailableFrom v="4.0.506" inline />.
```tsx twoslash title="Timed element"
@@ -227,24 +229,6 @@ export const MyComp: React.FC = () => {
};
```
-### `premountFor?`<AvailableFrom v="4.0.528" />
-
-Mounts the component before its `from` frame, keeping it transparent and frozen at its first frame so assets can load. The value is a number of frames. Defaults to `0` in v4 and `fps` (1 second) in v5. See [premounting](/docs/player/premounting).
-
-### `postmountFor?`<AvailableFrom v="4.0.528" />
-
-Keeps the component mounted after its duration ends, transparent and frozen at its last frame. Defaults to `0` frames. Requires a finite `durationInFrames`.
-
-### `styleWhilePremounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while premounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-### `styleWhilePostmounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while postmounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-Premounting and postmounting apply in the [Player](/docs/player) and [Studio](/docs/studio), and are disabled during rendering. They do not add a wrapper element.
-
### `ref?`
You can add a [React ref](https://react.dev/learn/manipulating-the-dom-with-refs) to the rendered element.
diff --git a/packages/docs/docs/loop.mdx b/packages/docs/docs/loop.mdx
index e56edb55e7..69c296ec5f 100644
--- a/packages/docs/docs/loop.mdx
+++ b/packages/docs/docs/loop.mdx
@@ -59,23 +59,9 @@ If you would like to disable layout side effects, pass `layout="none"`.
CSS styles to be applied to the container. If `layout` is set to `none`, there is no container and setting this style is not allowed.
-### `premountFor?`<AvailableFrom v="4.0.528" />
+### Inherited props<AvailableFrom v="4.0.528" />
-Mounts the component before it starts, keeping it transparent and frozen at its first frame so assets can load. The value is a number of frames. Defaults to `0` in v4 and `fps` (1 second) in v5. See [premounting](/docs/player/premounting).
-
-### `postmountFor?`<AvailableFrom v="4.0.528" />
-
-Keeps the component mounted after its duration ends, transparent and frozen at its last frame. Defaults to `0` frames. Requires a finite `times`.
-
-### `styleWhilePremounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while premounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-### `styleWhilePostmounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while postmounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-Premounting and postmounting apply in the [Player](/docs/player) and [Studio](/docs/studio), and are disabled during rendering. These props require `layout="absolute-fill"` (the default).
+`<Loop>` inherits [`premountFor`](/docs/sequence#premountfor), [`postmountFor`](/docs/sequence#postmountfor), [`styleWhilePremounted`](/docs/sequence#stylewhilepremounted) and [`styleWhilePostmounted`](/docs/sequence#stylewhilepostmounted) from [`<Sequence>`](/docs/sequence). These props require `layout="absolute-fill"` (the default). Postmounting the end of the loop requires a finite `times`.
## Examples
diff --git a/packages/docs/docs/lottie/lottie-comp.mdx b/packages/docs/docs/lottie/lottie-comp.mdx
index d4e0555d36..8104c06056 100644
--- a/packages/docs/docs/lottie/lottie-comp.mdx
+++ b/packages/docs/docs/lottie/lottie-comp.mdx
@@ -109,51 +109,11 @@ Set the Lottie [`assetsPath`](https://github.com/airbnb/lottie-web/wiki/loadAnim
In a Lottie JSON in the `assets` array, you can reference assets either externally or internally. If `e: 0`, the assets will be prefixed with `assetsPath` (ideal if you put the image into your `public` folder). If `e: 1`, the assets will be loaded from the absolute URL specified in the JSON.
-### `from?`<AvailableFrom v="4.0.528" />
+### Inherited props<AvailableFrom v="4.0.528" />
-The frame at which the component becomes visible, relative to its parent. Defaults to `0`. See [`from`](/docs/sequence#from) on [`<Sequence>`](/docs/sequence).
+`<Lottie>` inherits [`from`](/docs/sequence#from), [`durationInFrames`](/docs/sequence#durationinframes), [`trimBefore`](/docs/sequence#trimbefore), [`freeze`](/docs/sequence#freeze), [`hidden`](/docs/sequence#hidden), [`name`](/docs/sequence#name), [`showInTimeline`](/docs/sequence#showintimeline), [`premountFor`](/docs/sequence#premountfor), [`postmountFor`](/docs/sequence#postmountfor), [`styleWhilePremounted`](/docs/sequence#stylewhilepremounted) and [`styleWhilePostmounted`](/docs/sequence#stylewhilepostmounted) from [`<Sequence>`](/docs/sequence).
-### `durationInFrames?`<AvailableFrom v="4.0.528" />
-
-How long the component stays visible. Defaults to `Infinity`, limited by its parent. See [`durationInFrames`](/docs/sequence#durationinframes) on [`<Sequence>`](/docs/sequence).
-
-### `trimBefore?`<AvailableFrom v="4.0.528" />
-
-Skips this many frames at the beginning of the content. Defaults to `0`. See [`trimBefore`](/docs/sequence#trimbefore) on [`<Sequence>`](/docs/sequence).
-
-### `freeze?`<AvailableFrom v="4.0.528" />
-
-Freezes the content at a local frame. Defaults to no freeze. See [`freeze`](/docs/sequence#freeze) on [`<Sequence>`](/docs/sequence).
-
-### `hidden?`<AvailableFrom v="4.0.528" />
-
-Hides the component and its children. Defaults to `false`. See [`hidden`](/docs/sequence#hidden) on [`<Sequence>`](/docs/sequence).
-
-### `name?`<AvailableFrom v="4.0.528" />
-
-The name shown in the Studio timeline. Defaults to `"<Lottie>"`. See [`name`](/docs/sequence#name) on [`<Sequence>`](/docs/sequence).
-
-### `showInTimeline?`<AvailableFrom v="4.0.528" />
-
-Whether to show the component in the Studio timeline. Defaults to `false`. See [`showInTimeline`](/docs/sequence#showintimeline) on [`<Sequence>`](/docs/sequence).
-
-### `premountFor?`<AvailableFrom v="4.0.528" />
-
-Mounts the component before its `from` frame, keeping it transparent and frozen at its first frame so assets can load. The value is a number of frames. Defaults to `0` in v4 and `fps` (1 second) in v5. See [premounting](/docs/player/premounting).
-
-### `postmountFor?`<AvailableFrom v="4.0.528" />
-
-Keeps the component mounted after its duration ends, transparent and frozen at its last frame. Defaults to `0` frames. Requires a finite `durationInFrames`.
-
-### `styleWhilePremounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while premounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-### `styleWhilePostmounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while postmounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-Premounting and postmounting apply in the [Player](/docs/player) and [Studio](/docs/studio), and are disabled during rendering. They do not add a wrapper element.
+`showInTimeline` defaults to `false`, and `name` defaults to `"<Lottie>"`.
## Compatibility
diff --git a/packages/docs/docs/mac-cursors/mac-os-cursor.mdx b/packages/docs/docs/mac-cursors/mac-os-cursor.mdx
index acc3ecdcb1..ed06fbc482 100644
--- a/packages/docs/docs/mac-cursors/mac-os-cursor.mdx
+++ b/packages/docs/docs/mac-cursors/mac-os-cursor.mdx
@@ -72,27 +72,11 @@ A CSS class name for the cursor image.
CSS styles for the cursor image. Use `left` and `top` to position it without changing the hotspot correction.
-### Timing and display props
+### Inherited props
-The component also accepts [`InteractiveBaseProps`](/docs/interactive#interactivebaseprops), including `durationInFrames`, `from`, `trimBefore`, `playbackRate`, `freeze`, `hidden`, `name`, and `showInTimeline`.
+`<MacOSCursor>` inherits [`from`](/docs/sequence#from), [`durationInFrames`](/docs/sequence#durationinframes), [`trimBefore`](/docs/sequence#trimbefore), [`playbackRate`](/docs/sequence#playbackrate), [`freeze`](/docs/sequence#freeze), [`hidden`](/docs/sequence#hidden), [`name`](/docs/sequence#name) and [`showInTimeline`](/docs/sequence#showintimeline) from [`<Sequence>`](/docs/sequence).
-### `premountFor?`<AvailableFrom v="4.0.528" />
-
-Mounts the component before its `from` frame, keeping it transparent and frozen at its first frame so assets can load. The value is a number of frames. Defaults to `0` in v4 and `fps` (1 second) in v5. See [premounting](/docs/player/premounting).
-
-### `postmountFor?`<AvailableFrom v="4.0.528" />
-
-Keeps the component mounted after its duration ends, transparent and frozen at its last frame. Defaults to `0` frames. Requires a finite `durationInFrames`.
-
-### `styleWhilePremounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while premounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-### `styleWhilePostmounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while postmounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-Premounting and postmounting apply in the [Player](/docs/player) and [Studio](/docs/studio), and are disabled during rendering. They do not add a wrapper element.
+From <AvailableFrom v="4.0.528" inline />, it also inherits [`premountFor`](/docs/sequence#premountfor), [`postmountFor`](/docs/sequence#postmountfor), [`styleWhilePremounted`](/docs/sequence#stylewhilepremounted) and [`styleWhilePostmounted`](/docs/sequence#stylewhilepostmounted) from [`<Sequence>`](/docs/sequence).
## Compatibility
diff --git a/packages/docs/docs/remotion/html-in-canvas.mdx b/packages/docs/docs/remotion/html-in-canvas.mdx
index 562b1a0e9c..574f6692a0 100644
--- a/packages/docs/docs/remotion/html-in-canvas.mdx
+++ b/packages/docs/docs/remotion/html-in-canvas.mdx
@@ -141,39 +141,11 @@ Crops the canvas from the top by a ratio between 0 and 1. See [`cropTop`](/docs/
Crops the canvas from the bottom by a ratio between 0 and 1. See [`cropBottom`](/docs/sequence#cropbottom) on `<Sequence>`.
-### `durationInFrames?`
+### Inherited props
-Inherited from [`<Sequence>`](/docs/sequence#durationinframes).
+`<HtmlInCanvas>` inherits [`from`](/docs/sequence#from), [`durationInFrames`](/docs/sequence#durationinframes), [`trimBefore`](/docs/sequence#trimbefore)<AvailableFrom v="4.0.482" inline /> and [`playbackRate`](/docs/sequence#playbackrate)<AvailableFrom v="4.0.528" inline /> from [`<Sequence>`](/docs/sequence).
-### `from?`
-
-Inherited from [`<Sequence>`](/docs/sequence#from).
-
-### `trimBefore?`<AvailableFrom v="4.0.482" />
-
-Inherited from [`<Sequence>`](/docs/sequence#trimbefore).
-
-### `playbackRate?`<AvailableFrom v="4.0.528" />
-
-Inherited from [`<Sequence>`](/docs/sequence#playbackrate).
-
-### `premountFor?`<AvailableFrom v="4.0.528" />
-
-Mounts the component before its `from` frame, keeping it transparent and frozen at its first frame so assets can load. The value is a number of frames. Defaults to `0` in v4 and `fps` (1 second) in v5. See [premounting](/docs/player/premounting).
-
-### `postmountFor?`<AvailableFrom v="4.0.528" />
-
-Keeps the component mounted after its duration ends, transparent and frozen at its last frame. Defaults to `0` frames. Requires a finite `durationInFrames`.
-
-### `styleWhilePremounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while premounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-### `styleWhilePostmounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while postmounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-Premounting and postmounting apply in the [Player](/docs/player) and [Studio](/docs/studio), and are disabled during rendering. They do not add a wrapper element.
+From <AvailableFrom v="4.0.528" inline />, it also inherits [`premountFor`](/docs/sequence#premountfor), [`postmountFor`](/docs/sequence#postmountfor), [`styleWhilePremounted`](/docs/sequence#stylewhilepremounted) and [`styleWhilePostmounted`](/docs/sequence#stylewhilepostmounted) from [`<Sequence>`](/docs/sequence).
### `ref?`
diff --git a/packages/docs/docs/rive/remotionrivecanvas.mdx b/packages/docs/docs/rive/remotionrivecanvas.mdx
index 99e4ff8e4e..b9ccaba6c6 100644
--- a/packages/docs/docs/rive/remotionrivecanvas.mdx
+++ b/packages/docs/docs/rive/remotionrivecanvas.mdx
@@ -145,6 +145,8 @@ Crops the canvas from the bottom by a ratio between `0` and `1`. See [`cropBotto
`<RemotionRiveCanvas>` inherits [`from`](/docs/sequence#from), [`durationInFrames`](/docs/sequence#durationinframes), [`trimBefore`](/docs/sequence#trimbefore)<AvailableFrom v="4.0.482" inline />, [`playbackRate`](/docs/sequence#playbackrate), [`name`](/docs/sequence#name), [`showInTimeline`](/docs/sequence#showintimeline) and [`hidden`](/docs/sequence#hidden) from [`<Sequence>`](/docs/sequence).
+From <AvailableFrom v="4.0.528" inline />, it also inherits [`premountFor`](/docs/sequence#premountfor), [`postmountFor`](/docs/sequence#postmountfor), [`styleWhilePremounted`](/docs/sequence#stylewhilepremounted) and [`styleWhilePostmounted`](/docs/sequence#stylewhilepostmounted) from [`<Sequence>`](/docs/sequence).
+
## Ref<AvailableFrom v="4.0.180" />
You can attach a ref to the component to access the Rive Canvas instance.
@@ -222,24 +224,6 @@ function App() {
}
```
-### `premountFor?`<AvailableFrom v="4.0.528" />
-
-Mounts the component before its `from` frame, keeping it transparent and frozen at its first frame so assets can load. The value is a number of frames. Defaults to `0` in v4 and `fps` (1 second) in v5. See [premounting](/docs/player/premounting).
-
-### `postmountFor?`<AvailableFrom v="4.0.528" />
-
-Keeps the component mounted after its duration ends, transparent and frozen at its last frame. Defaults to `0` frames. Requires a finite `durationInFrames`.
-
-### `styleWhilePremounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while premounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-### `styleWhilePostmounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while postmounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-Premounting and postmounting apply in the [Player](/docs/player) and [Studio](/docs/studio), and are disabled during rendering. They do not add a wrapper element.
-
## Compatibility
<CompatibilityTable chrome firefox safari nodejs="" bun="" serverlessFunctions="" clientSideRendering serverSideRendering player studio hideServers />
diff --git a/packages/docs/docs/rough-notation/index.mdx b/packages/docs/docs/rough-notation/index.mdx
index a82698fe44..7ba90ddd20 100644
--- a/packages/docs/docs/rough-notation/index.mdx
+++ b/packages/docs/docs/rough-notation/index.mdx
@@ -65,25 +65,13 @@ Set to `true` to prevent Rough.js from drawing multiple strokes for a line. Defa
Preserves vertices when roughening a shape. Default: `false`.
-The components are interactive in Remotion Studio. They support editable text and font controls, as well as the following [`<Sequence>`](/docs/sequence) props: `durationInFrames`, `from`, `trimBefore`, `playbackRate`, `freeze`, `hidden`, `name` and `showInTimeline`.
+The components are interactive in Remotion Studio and support editable text and font controls.
-### `premountFor?`<AvailableFrom v="4.0.528" />
+### Inherited props
-Mounts the component before its `from` frame, keeping it transparent and frozen at its first frame so assets can load. The value is a number of frames. Defaults to `0` in v4 and `fps` (1 second) in v5. See [premounting](/docs/player/premounting).
+Every annotation component inherits [`from`](/docs/sequence#from), [`durationInFrames`](/docs/sequence#durationinframes), [`trimBefore`](/docs/sequence#trimbefore), [`playbackRate`](/docs/sequence#playbackrate), [`freeze`](/docs/sequence#freeze), [`hidden`](/docs/sequence#hidden), [`name`](/docs/sequence#name) and [`showInTimeline`](/docs/sequence#showintimeline) from [`<Sequence>`](/docs/sequence).
-### `postmountFor?`<AvailableFrom v="4.0.528" />
-
-Keeps the component mounted after its duration ends, transparent and frozen at its last frame. Defaults to `0` frames. Requires a finite `durationInFrames`.
-
-### `styleWhilePremounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while premounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-### `styleWhilePostmounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while postmounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-Premounting and postmounting apply in the [Player](/docs/player) and [Studio](/docs/studio), and are disabled during rendering. They do not add a wrapper element.
+From <AvailableFrom v="4.0.528" inline />, it also inherits [`premountFor`](/docs/sequence#premountfor), [`postmountFor`](/docs/sequence#postmountfor), [`styleWhilePremounted`](/docs/sequence#stylewhilepremounted) and [`styleWhilePostmounted`](/docs/sequence#stylewhilepostmounted) from [`<Sequence>`](/docs/sequence).
## License
diff --git a/packages/docs/docs/sequence.mdx b/packages/docs/docs/sequence.mdx
index 8b2d226f65..0fb36084b1 100644
--- a/packages/docs/docs/sequence.mdx
+++ b/packages/docs/docs/sequence.mdx
@@ -376,6 +376,11 @@ Use this only if you expect the user to frequently seek backwards in the timelin
CSS styles to be applied to the container while the sequence is premounted.
The `style` is still applied, but `styleWhilePremounted` can override properties.
+### `styleWhilePostmounted?`<AvailableFrom v="4.0.340" />
+
+CSS styles to be applied to the container while the sequence is postmounted.
+The `style` is still applied, but `styleWhilePostmounted` can override properties. Defaults to no overrides.
+
### `showInTimeline?`<AvailableFrom v="4.0.110" />
If set to `false`, the track will not be shown in the Studio's timeline.
diff --git a/packages/docs/docs/solid.mdx b/packages/docs/docs/solid.mdx
index 83078d635b..a3b56fe061 100644
--- a/packages/docs/docs/solid.mdx
+++ b/packages/docs/docs/solid.mdx
@@ -90,6 +90,8 @@ Crops the canvas from the bottom by a ratio between 0 and 1. See [`cropBottom`](
`<Solid>` inherits [`from`](/docs/sequence#from), [`durationInFrames`](/docs/sequence#durationinframes), [`trimBefore`](/docs/sequence#trimbefore)<AvailableFrom v="4.0.482" inline />, [`playbackRate`](/docs/sequence#playbackrate), [`name`](/docs/sequence#name), [`showInTimeline`](/docs/sequence#showintimeline) and [`hidden`](/docs/sequence#hidden) from [`<Sequence>`](/docs/sequence).
+From <AvailableFrom v="4.0.528" inline />, it also inherits [`premountFor`](/docs/sequence#premountfor), [`postmountFor`](/docs/sequence#postmountfor), [`styleWhilePremounted`](/docs/sequence#stylewhilepremounted) and [`styleWhilePostmounted`](/docs/sequence#stylewhilepostmounted) from [`<Sequence>`](/docs/sequence).
+
## Adding a ref
You can add a [React ref](https://react.dev/learn/manipulating-the-dom-with-refs) to a `<Solid>` component.
@@ -109,24 +111,6 @@ const MyComp = () => {
This is mainly a component for adding [effects](/docs/effects/api) to a solid color.
-### `premountFor?`<AvailableFrom v="4.0.528" />
-
-Mounts the component before its `from` frame, keeping it transparent and frozen at its first frame so assets can load. The value is a number of frames. Defaults to `0` in v4 and `fps` (1 second) in v5. See [premounting](/docs/player/premounting).
-
-### `postmountFor?`<AvailableFrom v="4.0.528" />
-
-Keeps the component mounted after its duration ends, transparent and frozen at its last frame. Defaults to `0` frames. Requires a finite `durationInFrames`.
-
-### `styleWhilePremounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while premounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-### `styleWhilePostmounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while postmounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-Premounting and postmounting apply in the [Player](/docs/player) and [Studio](/docs/studio), and are disabled during rendering. They do not add a wrapper element.
-
## Compatibility
<CompatibilityTable chrome firefox safari nodejs="" bun="" serverlessFunctions="" clientSideRendering serverSideRendering player studio hideServers/>
diff --git a/packages/docs/docs/three-canvas.mdx b/packages/docs/docs/three-canvas.mdx
index e790bb52a3..1386f21f60 100644
--- a/packages/docs/docs/three-canvas.mdx
+++ b/packages/docs/docs/three-canvas.mdx
@@ -50,55 +50,11 @@ export default ThreeBasic;
## Props
-### `from?`<AvailableFrom v="4.0.528" />
+### Inherited props<AvailableFrom v="4.0.528" />
-The frame at which the component becomes visible, relative to its parent. Defaults to `0`. See [`from`](/docs/sequence#from) on [`<Sequence>`](/docs/sequence).
+`<ThreeCanvas>` inherits [`from`](/docs/sequence#from), [`durationInFrames`](/docs/sequence#durationinframes), [`trimBefore`](/docs/sequence#trimbefore), [`playbackRate`](/docs/sequence#playbackrate), [`freeze`](/docs/sequence#freeze), [`hidden`](/docs/sequence#hidden), [`name`](/docs/sequence#name), [`showInTimeline`](/docs/sequence#showintimeline), [`premountFor`](/docs/sequence#premountfor), [`postmountFor`](/docs/sequence#postmountfor), [`styleWhilePremounted`](/docs/sequence#stylewhilepremounted) and [`styleWhilePostmounted`](/docs/sequence#stylewhilepostmounted) from [`<Sequence>`](/docs/sequence).
-### `durationInFrames?`<AvailableFrom v="4.0.528" />
-
-How long the component stays visible. Defaults to `Infinity`, limited by its parent. See [`durationInFrames`](/docs/sequence#durationinframes) on [`<Sequence>`](/docs/sequence).
-
-### `trimBefore?`<AvailableFrom v="4.0.528" />
-
-Skips this many frames at the beginning of the content. Defaults to `0`. See [`trimBefore`](/docs/sequence#trimbefore) on [`<Sequence>`](/docs/sequence).
-
-### `freeze?`<AvailableFrom v="4.0.528" />
-
-Freezes the content at a local frame. Defaults to no freeze. See [`freeze`](/docs/sequence#freeze) on [`<Sequence>`](/docs/sequence).
-
-### `hidden?`<AvailableFrom v="4.0.528" />
-
-Hides the component and its children. Defaults to `false`. See [`hidden`](/docs/sequence#hidden) on [`<Sequence>`](/docs/sequence).
-
-### `name?`<AvailableFrom v="4.0.528" />
-
-The name shown in the Studio timeline. Defaults to `"<ThreeCanvas>"`. See [`name`](/docs/sequence#name) on [`<Sequence>`](/docs/sequence).
-
-### `showInTimeline?`<AvailableFrom v="4.0.528" />
-
-Whether to show the component in the Studio timeline. Defaults to `false`. See [`showInTimeline`](/docs/sequence#showintimeline) on [`<Sequence>`](/docs/sequence).
-
-### `playbackRate?`<AvailableFrom v="4.0.528" />
-
-Changes the speed of the content. Defaults to `1`. See [`playbackRate`](/docs/sequence#playbackrate) on [`<Sequence>`](/docs/sequence).
-
-### `premountFor?`<AvailableFrom v="4.0.528" />
-
-Mounts the component before its `from` frame, keeping it transparent and frozen at its first frame so assets can load. The value is a number of frames. Defaults to `0` in v4 and `fps` (1 second) in v5. See [premounting](/docs/player/premounting).
-
-### `postmountFor?`<AvailableFrom v="4.0.528" />
-
-Keeps the component mounted after its duration ends, transparent and frozen at its last frame. Defaults to `0` frames. Requires a finite `durationInFrames`.
-
-### `styleWhilePremounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while premounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-### `styleWhilePostmounted?`<AvailableFrom v="4.0.528" />
-
-CSS styles applied while postmounted. Defaults to no overrides. These styles override `style` and the default `opacity: 0` and `pointerEvents: 'none'`.
-
-Premounting and postmounting apply in the [Player](/docs/player) and [Studio](/docs/studio), and are disabled during rendering. They do not add a wrapper element.
+`showInTimeline` defaults to `false`, and `name` defaults to `"<ThreeCanvas>"`.
## `frameloop` behavior during rendering
diff --git a/packages/docs/docs/three-webgpu-canvas.mdx b/packages/docs/docs/three-webgpu-canvas.mdx
index 95bee6b576..0791e319f4 100644
--- a/packages/docs/docs/three-webgpu-canvas.mdx
+++ b/packages/docs/docs/three-webgpu-canvas.mdx
@@ -87,7 +87,7 @@ Use [`npx remotion gpu`](/docs/cli/gpu) to inspect GPU support.
`<ThreeWebGPUCanvas>` accepts the props of [`<ThreeCanvas>`](/docs/three-canvas), except for `gl`. The renderer is initialized by `<ThreeWebGPUCanvas>`.
-From <AvailableFrom v="4.0.528" inline />, this includes [`premountFor`](/docs/three-canvas#premountfor), [`postmountFor`](/docs/three-canvas#postmountfor), [`styleWhilePremounted`](/docs/three-canvas#stylewhilepremounted) and [`styleWhilePostmounted`](/docs/three-canvas#stylewhilepostmounted).
+From <AvailableFrom v="4.0.528" inline />, this includes the [timing and premounting props inherited from `<Sequence>`](/docs/three-canvas#inherited-props).
## Compatibility