InfinitySquareSnake moves four staggered unicode glyphs through two joined
square loops. It keeps the path fixed and scales cleanly with font size.
Loading
Credits to shaah1d for creating the initial animation.
Installation
Usage
import { InfinitySquareSnake } from "@/components/loading-ui/infinity-square-snake";<InfinitySquareSnake />Customization
Use blocks for the four unicode trail glyphs. The path scales with text size,
and timing is controlled with --duration and --delay.
Size
Scale the fixed infinity path with text-size utilities.
LoadingLoadingLoading
Color
Apply text color utilities to the root.
LoadingLoadingLoading
Duration
Set --duration for the two-loop travel speed.
LoadingLoadingLoading
Glyphs
Provide four glyphs to customize the lead and trailing cells.
LoadingLoadingLoading
