Capítulo 796 de 988

Chapter 796: <Pie />

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",
      }}
    >
      <Pie
        radius={100}
        progress={0.5}
        fill="green"
        stroke="red"
        strokeWidth={1}
      />
    </AbsoluteFill>
  );
};
  • What it demonstrates: Usage pattern for <Pie /> from the official docs.

Key Takeaways

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

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.