An animated bouncing dots loading indicator with configurable size, count, gap, color and speed.
import { LoaderDots } from "@/components/ui/loaders-dots"; const settings = { size: 22, gap: 16, }; export default function LoaderDotsDemo(props: Partial<typeof settings>) { const s = { ...settings, ...props }; return ( <div className="flex min-h-[300px] w-full items-center justify-center bg-background text-foreground"> <LoaderDots size={s.size} gap={s.gap} /> </div> ); }