mirukullacode

Preloader

Component

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>
  );
}

Dependencies

More by mirukullacode

View all
  • Chart Line

    Chart Line

    33
  • Tweenly AI Recorder

    Tweenly AI Recorder

    29
  • Animated Bar Chart

    Animated Bar Chart

    28
  • Tweenly Chart KPI

    Tweenly Chart KPI

    18
  • Tweenly Chart Radial

    Tweenly Chart Radial

    16
  • Tweenly Image Arc

    Tweenly Image Arc

    15
  • Tweenly Hero Background

    Tweenly Hero Background

    12
  • Tweenly Curved Carousel

    Tweenly Curved Carousel

    12