Directional Waves
Wave patterns animate all dots in a cascading sequence.wave-lr
Wave animation flowing from left to right.Use Cases
- Progress indicators moving forward
- Loading states with directional context
- Horizontal scrolling feedback
wave-rl
Wave animation flowing from right to left.Use Cases
- Backward navigation feedback
- Right-to-left language interfaces
- Reversing/undo operations
wave-tb
Wave animation flowing from top to bottom.Use Cases
- Vertical scrolling feedback
- Dropdown menu loading
- Downward progression indicators
wave-bt
Wave animation flowing from bottom to top.Use Cases
- Upload progress indicators
- Upward navigation
- Rising/filling animations
Spiral Pattern
spiral
Animates dots in a spiral pattern from outside to inside.Direction Control
Control the spiral direction:Use Cases
- Loading states that need visual interest
- Processing or analyzing indicators
- Circular progress concepts
Full Grid Pattern
all
Animates all dots simultaneously across the entire grid.Direction Variations
ltr- Wave flows from top-left to bottom-rightrtl- Wave flows from top-right to bottom-leftttb- Wave flows from top-left to bottom-right (emphasizing vertical)btt- Wave flows from bottom-left to top-right
Use Cases
- Full-page loading states
- Prominent processing indicators
- Attention-grabbing animations
- Background loading effects
Customizing Wave Patterns
Wave patterns support extensive customization:Key Parameters
duration- Controls wave speed (lower = faster)rows/cols- Larger grids create more dramatic wavesglow- Higher values create more prominent light trailsscale- Enlarges the entire animation
Performance Note
Wave patterns animate more dots simultaneously, which creates beautiful effects but uses more GPU resources. For best performance:- Use moderate grid sizes (3x3 to 5x5 recommended)
- Limit the number of simultaneous wave animations on screen
- Consider using simpler patterns for inline or repeated use cases