Chapter 584: gridlines()
Core Idea
_Part of the @remotion/effects package.
Key Concepts
- Preview
- Example
- API
- gridSize?
- lineWidth?
- lineColor?
- backgroundColor?
- rotation?
Code Examples
export const MyComp: React.FC = () => {
return (
<AbsoluteFill>
<Solid
width={1280}
height={720}
color="#101828"
effects={[
gridlines({
gridSize: 72,
lineWidth: 3,
lineColor: '#7cc6ff',
}),
]}
/>
</AbsoluteFill>
);
};
- What it demonstrates: Usage pattern for gridlines() from the official docs.
Key Takeaways
- Understand preview when working with gridlines().
- Understand example when working with gridlines().
- Understand api when working with gridlines().
- Understand gridsize? when working with gridlines().
- Understand linewidth? when working with gridlines().
Connects To
- Animated Emoji: related page in the Effects Library section.
- get Available Emoji: related page in the Effects Library section.
- api: related page in the Effects Library section.