🎥 Make videos programmatically with React
Skills: List components and presentations accepting effects
Jonny Burgera7718f381d00
diff --git a/packages/skills/skills/remotion-markup/SKILL.md b/packages/skills/skills/remotion-markup/SKILL.mdindex 7d9701f5e6..5fd7141674 100644--- a/packages/skills/skills/remotion-markup/SKILL.md+++ b/packages/skills/skills/remotion-markup/SKILL.md@@ -346,9 +346,33 @@ request, prefer that effect over a CSS approximation. For example, apply`vignette()` directly to a `<Video>`'s `effects` prop when the vignette shouldaffect that video.-Components that support `effects` include `<Video>` from `@remotion/media` and-`<Img>`, `<CanvasImage>`, `<Solid>`, and `<HtmlInCanvas>` from `remotion`.-Ordinary HTML elements and `<AbsoluteFill>` do not accept `effects`.+These components accept `effects` directly:++| Import from | Components |+| ------------------ | ----------------------------------------------------------------------------------------------------------------------------- |+| `remotion` | `<Img>`, `<CanvasImage>`, `<AnimatedImage>`, `<Solid>`, `<HtmlInCanvas>` |+| `@remotion/media` | `<Video>` |+| `@remotion/gif` | `<Gif>` |+| `@remotion/rive` | `<RemotionRiveCanvas>` |+| `@remotion/shapes` | `<Arrow>`, `<Callout>`, `<Circle>`, `<Ellipse>`, `<Heart>`, `<Pie>`, `<Polygon>`, `<Rect>`, `<Spark>`, `<Star>`, `<Triangle>` |++With non-empty `effects`, `<Img>` renders through `<CanvasImage>`, and the shape+components render through `<HtmlInCanvas>`. Shape effects therefore require+[HTML-in-canvas support](html-in-canvas.md).++HTML-in-canvas transition presentations also accept `effects` in their factory+options: `bookFlip()`, `blurSlide()`, `crosswarp()`, `crossZoom()`, `dissolve()`,+`dreamyZoom()`, `filmBurn()`, `linearBlur()`, `ripple()`, `swap()`, `zoomBlur()`,+and `zoomInOut()`. Import each from+`@remotion/transitions/<presentation-slug>`. Custom presentation factories+created with `makeHtmlInCanvasPresentation()` from `@remotion/transitions` accept+`effects` too. Pass the array in the presentation factory's options, rather than+directly to `<TransitionSeries.Transition>`. These presentations also require+HTML-in-canvas support.++Ordinary HTML elements, `<Interactive.*>` DOM wrappers, `<AbsoluteFill>`, and+`<Sequence>` do not accept `effects`. Custom components must implement effect+processing or forward `effects` to a supported component.For other elements, prefer regular HTML and CSS where suitable. Consider wrappinga group in [`<HtmlInCanvas>`](html-in-canvas.md) when post-processing the wholediff --git a/packages/skills/skills/remotion-markup/effects.md b/packages/skills/skills/remotion-markup/effects.mdindex 68c8a05519..63df2d75a0 100644--- a/packages/skills/skills/remotion-markup/effects.md+++ b/packages/skills/skills/remotion-markup/effects.md@@ -19,7 +19,37 @@ Install the package that provides the chosen effect:npx remotion add @remotion/effects```-Effects are functions passed to the `effects` prop of supported components such as `<Video>` from `@remotion/media`, `<Img>`, `<Solid>`, `<CanvasImage>`, and `<HtmlInCanvas>`.+Effects are functions passed to the `effects` prop of supported components.++These components accept `effects` directly:++| Import from | Components |+| ------------------ | ----------------------------------------------------------------------------------------------------------------------------- |+| `remotion` | `<Img>`, `<CanvasImage>`, `<AnimatedImage>`, `<Solid>`, `<HtmlInCanvas>` |+| `@remotion/media` | `<Video>` |+| `@remotion/gif` | `<Gif>` |+| `@remotion/rive` | `<RemotionRiveCanvas>` |+| `@remotion/shapes` | `<Arrow>`, `<Callout>`, `<Circle>`, `<Ellipse>`, `<Heart>`, `<Pie>`, `<Polygon>`, `<Rect>`, `<Spark>`, `<Star>`, `<Triangle>` |++With non-empty `effects`, `<Img>` renders through `<CanvasImage>`, and the shape+components render through `<HtmlInCanvas>`. Shape effects therefore require+[HTML-in-canvas support](html-in-canvas.md).++HTML-in-canvas transition presentations also accept `effects` in their factory+options: `bookFlip()`, `blurSlide()`, `crosswarp()`, `crossZoom()`, `dissolve()`,+`dreamyZoom()`, `filmBurn()`, `linearBlur()`, `ripple()`, `swap()`, `zoomBlur()`,+and `zoomInOut()`. Import each from+`@remotion/transitions/<presentation-slug>`. Custom presentation factories+created with `makeHtmlInCanvasPresentation()` from `@remotion/transitions` accept+`effects` too. Pass the array in the presentation factory's options, rather than+directly to `<TransitionSeries.Transition>`. These presentations also require+HTML-in-canvas support.++Ordinary HTML elements, `<Interactive.*>` DOM wrappers, `<AbsoluteFill>`, and+`<Sequence>` do not accept `effects`. Custom components must implement effect+processing or forward `effects` to a supported component.++For example, apply an effect directly to a video:```tsximport {Video} from '@remotion/media';