SquareGrid renders a monospace square track and masks the moving glyphs against
the current surface. The grid size is configurable while the animation stays in
ch units.
Loading
Credits to shaah1d for creating the initial animation.
Installation
Usage
import { SquareGrid } from "@/components/loading-ui/square-grid";<SquareGrid />Customization
Use size for the number of cells per side, blocks and track for unicode
characters, and --duration, --delay, or --mask-color for timing and
surface matching.
Size
Change both text scale and the number of grid cells.
LoadingLoadingLoading
Color
The track and moving glyphs inherit foreground color.
LoadingLoadingLoading
Duration
Set --duration for slower or faster square travel.
LoadingLoadingLoading
Glyphs
Use alternate glyphs and provide --mask-color on tinted surfaces.
LoadingLoading
Loading
