Animate UI

Motion Grid

A grid that displays animations in a grid.

Made by imskyleen
Edit on GitHub

Installation

Usage

<MotionGrid gridSize={[5, 5]} frames={frames}>
  <MotionGridCells />
</MotionGrid>

Editor

Animations stored in local storage
ms

API Reference

MotionGrid

PropTypeDefault
asChild?
boolean
false
gridSize
[number, number]
-
frames
[number, number][][]
-
duration?
number
200
animate?
boolean
true
...props?
HTMLMotionProps<"div">
-

MotionGridCells

PropTypeDefault
activeProps?
HTMLMotionProps<"div">
-
inactiveProps?
HTMLMotionProps<"div">
-
...props?
HTMLMotionProps<"div">
-

Credits

Built by Skyleen. The source code is available on GitHub.