Mask Reveal Preloader
A one-shot intro: a logo slides in char by char over a filling progress bar with a mix-blend footer line, then an SVG-shaped mask (a rounded capsule cut from a solid fill) scales up to punch through and reveal the hero, whose image settles from a zoom as the headline, footer copy, and pill buttons animate in.
npx shadcn@latest add https://ui.aryank.space/r/mask-reveal-preloader.jsonInstalls from ui.aryank.space. To add it by hand, copy the files in Usage below, or register the @compronents namespace via the docs.
| Prop | Type | Default | Description |
|---|---|---|---|
| heroImage / maskShape | string | BLANK-hosted JPG / SVG | Revealed hero and the capsule mask shape. |
| logo / headline | string | "Obsidian" | Preloader logo and hero headline. |
| contactLabel / menuLabel | string | "Contact" / "Menu" | Labels on the two pill buttons. |
maskShapeasset-urlThe SVG whose shape is cut from the reveal fill.
headline / footerHeading / footerTexttextThe hero copy revealed after the mask.
gsapreact-icons