
基本アニメーション
Track Matte
@remotionui/track-matte
提供元 RemotionUI
After Effects track mattes: reveal any child through any other with alpha, inverted alpha, luma or inverted luma
インストール
npx remotion-ui@latest add track-matteProps(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*ReactNodeWhat is revealed — any HTML.
widthnumber= 960Matte and content width in px.
heightnumber= 540Matte and content height in px.