Cursor Trail Reveal Demo
sora-ui/demo-cursor-trail-revealFreeComponent
Full-page contact layout with cursor trail image reveals on desktop.
Install it
npx shadcn@latest add https://ui.soralabs.io.vn/r/demo-cursor-trail-reveal.jsonSource
1"use client";23import { cn } from "@/lib/utils";4import { catalogPreviewScreenClassName } from "@/components/catalog/catalog-preview-classes";5import { CursorTrailReveal } from "@/components/sora-ui/effects/cursor-trail-reveal";6import { TextRevealBlock } from "@/components/sora-ui/texts/text-reveal-block";78import { DEMO_TRAIL_IMAGES } from "./trail-images";910export function CursorTrailRevealExample() {11 return (12 <div13 className={cn("relative overflow-hidden", catalogPreviewScreenClassName)}14 >15 <CursorTrailReveal images={DEMO_TRAIL_IMAGES} maskColor="#1a1a1a" />1617 <div className="absolute inset-0 z-1 flex items-center justify-center">18 <div className="mx-auto flex w-3/4 flex-col items-center gap-8 text-center max-lg:w-[90%]">19 <TextRevealBlock20 animateOnScroll={false}21 blockColor="#c8e600"22 delay={0.65}23 >24 <div className="flex w-full flex-col items-center">25 <h6 className="m-0 font-medium text-[2.5rem] uppercase leading-none tracking-[-0.05rem] max-lg:text-[1.75rem]">26 Move your cursor to reveal the trail27 </h6>28 </div>29 </TextRevealBlock>30 </div>31 </div>32 </div>33 );34}3536export default CursorTrailRevealExample;
What it pulls in
Other registry items
Files it writes
More from Sora UI
All 97 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion | Sora UI | Components | Free | 2 deps | |
| Border Trailborder-trail | Sora UI | Components | Free | 1 dep | |
| Bottom Sheetbottom-sheet | Sora UI | Components | Free | 2 deps | |
| Cursor Bubblecursor-bubble | Sora UI | Components | Free | 2 deps | |
| Cursor Trail Revealcursor-trail-reveal | Sora UI | Components | Free | 1 dep | |
| Custom Cursorcustom-cursor | Sora UI | Components | Free | 2 deps | |
| Accordion Demodemo-accordion | Sora UI | Components | Free | no deps | |
| Border Trail Demodemo-border-trail | Sora UI | Components | Free | no deps |
