About
A full-screen loading overlay with a counting percentage and rotating quotes that reveals the page content once loading completes.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Preloader to your project and fits it to your theme.
Code
How Preloader is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { Preloader } from "@/components/ui/preloader";
export default function PreloaderDemo() {
return (
<div className="relative h-screen w-full">
<Preloader position="absolute">
<div className="flex h-full w-full items-center justify-center bg-background text-foreground">
<p className="text-2xl font-medium">
Page content revealed after loading
</p>
</div>
</Preloader>
</div>
);
}








