Track Matte
Vista previa de Track Matte
Primitiva

Track Matte

@remotionui/track-matte

De RemotionUI

After Effects track mattes: reveal any child through any other with alpha, inverted alpha, luma or inverted luma

Instalación

npx remotion-ui@latest add track-matte

Props (5)

  • mode"alpha" | "alpha-inverted" | "luma" | "luma-inverted"= "alpha"

    How the matte decides visibility.

  • matte*ReactNode (SVG)

    SVG content in the width × height space: shapes, <text>, <image>, a nested <svg>, or <MatteVideo>.

  • children*ReactNode

    What is revealed — any HTML.

  • widthnumber= 960

    Matte and content width in px.

  • heightnumber= 540

    Matte and content height in px.

Paquetes npm

Categorías