About
A preloader that assembles a short word from letters parked at the corners of a gradient panel, one letter per move, then drops the panel to reveal your page with the wordmark left in place.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Perimeter Wordmark Preloader to your project and fits it to your theme.
Code
How Perimeter Wordmark Preloader is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client"
import * as React from "react"
import PerimeterWordmarkPreloader from "@/components/ui/perimeter-wordmark-preloader"
// The preloader on its own, looping: when the panel has gone and the word has
// held for a moment, it remounts and plays again. On a page, render it once
// wrapped around your page (see the README).
// from the moment the panel starts to drop: its fall, then about a second on the word
const HOLD = 1800
export default function Demo() {
const [run, setRun] = React.useState(0)
const timer = React.useRef(0)
React.useEffect(() => () => window.clearTimeout(timer.current), [])
const again = () => {
window.clearTimeout(timer.current)
timer.current = window.setTimeout(() => setRun((r) => r + 1), HOLD)
}
return (
<div className="w-full" style={{ background: "#050505" }}>
<PerimeterWordmarkPreloader key={run} text="NOIR" duration={3400} onReveal={again} />
</div>
)
}
















