Fog Text Reveal Demo
sora-ui/demo-fog-text-revealFreeComponent
Inline text that materializes through a WebGL fog mask and cycles through messages, inheriting the surrounding font and color.
Install it
npx shadcn@latest add https://ui.soralabs.io.vn/r/demo-fog-text-reveal.jsonSource
1"use client";23import {4 FogTextReveal,5 type FogTextRevealProps,6} from "@/components/sora-ui/texts/fog-text-reveal";78export default function FogTextRevealExample({9 loop = true,10 startOnView = true,11 holdDuration = 320,12 maxBlur = 16,13}: Partial<FogTextRevealProps>) {14 return (15 <div className="flex w-full items-center justify-center px-6 py-16">16 <p className="max-w-xl text-left font-serif text-4xl leading-tight tracking-tight">17 Type can move like{" "}18 <FogTextReveal19 holdDuration={holdDuration}20 loop={loop}21 maxBlur={maxBlur}22 startOnView={startOnView}23 text={["weather.", "fog.", "breath."]}24 />25 </p>26 </div>27 );28}
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 |
