Getting Started · 2 min read
Quick Start
Create your first dot matrix animation in minutes
Quick Start
Let's create your first dot matrix animation step by step.
Understanding the Grid
DotMatrix uses a simple index-based grid system. Each dot in the grid has a unique index:
Creating a Pulse Animation
Here's a simple pulse animation that expands from the center:
✓
Each frame is an array of dot indices that should be active during that frame.
Customizing the Animation
Change the Speed
Adjust the interval prop to control animation speed (in milliseconds):
Change the Colors
Use the color and inactiveColor props:
Add Glow Effect
Use activeDotStyle to add a glow effect:
Next Steps
- Learn more about DotMatrix component
- Explore ScrambleText for text animations
- Try DotFlow for compound animations
- Visit the Playground to experiment with animations