InfinityTrack combines a static unicode infinity track with staggered moving
block masks. It is the tracked counterpart to InfinitySquareSnake.
Loading
Credits to shaah1d for creating the initial animation.
Installation
Usage
import { InfinityTrack } from "@/components/loading-ui/infinity-track";<InfinityTrack />Customization
Use blocks and track for unicode glyphs. The path scales with text size, and
--duration, --delay, and --mask-color control motion and surface matching.
Size
Scale the tracked infinity path with text-size utilities.
LoadingLoadingLoading
Color
The track and moving glyphs inherit text color.
LoadingLoadingLoading
Duration
Set --duration to tune the infinity loop.
LoadingLoadingLoading
Glyphs
Swap glyphs and set --mask-color when the loader sits on a tinted surface.
LoadingLoading
Loading
