Capítulo 799 de 988

Chapter 799: <Spark />

Core Idea

_Part of the @remotion/shapes package.

Key Concepts

  • Explorer
  • Example
  • Props
  • See also

Code Examples

export const MyComposition = () => {
  return (
    <AbsoluteFill
      style={{
        backgroundColor: "white",
        justifyContent: "center",
        alignItems: "center",
      }}
    >
      <Spark
        width={240}
        height={336}
        edgeRoundness={1}
        cornerRadius={0}
        fill="#1f2a44"
      />
    </AbsoluteFill>
  );
};
  • What it demonstrates: Usage pattern for <Spark /> from the official docs.

Key Takeaways

  1. Understand explorer when working with <Spark />.
  2. Understand example when working with <Spark />.
  3. Understand props when working with <Spark />.
  4. Understand see also when working with <Spark />.

Connects To

  • Arrow: related page in the Shapes (@remotion/shapes) section.
  • Callout: related page in the Shapes (@remotion/shapes) section.
  • Circle: related page in the Shapes (@remotion/shapes) section.