Dots Grid

Animated dots grid, great for loading spinners.

Example

Examples

Spinner

Arrows

Component Props

PropTypeDefaultDescription
cols*number-The number of columns in the grid
rows*number-The number of rows in the grid
values*string | string[]-Single frame or array of frame strings with 0s and 1s representing each dot
dotSizenumber12The size of each dot
gapnumber12The gap between dots
intervalMsnumber250The interval in milliseconds between frames
classNamestring-Additional classes for the SVG

Installation