Fogbow
Rainbow mist overlay: a pale fogbow arc rising from below the frame, a blurred ring tinted cool inside and warm outside on a transparent ground. Size scales the ring and strength its opacity; best over fog.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Installation
pnpm dlx shadcn@latest add @01orbital/fogbownpx shadcn@latest add @01orbital/fogbowyarn dlx shadcn@latest add @01orbital/fogbowbunx --bun shadcn@latest add @01orbital/fogbowUsage
import { Fogbow } from "@/components/scene/fogbow"
// A morning sea fog for the bow to sit in: a cool gray sky, a bright fog
// bank and a faint sea line. It is made for this demo alone (Audrey's call,
// an exception to building demos on kit scenes). A mid-light gray keeps the
// white arc readable; a ground near white swallows it.
const SKY =
"linear-gradient(to bottom, oklch(0.78 0.022 238) 0%, oklch(0.83 0.016 232) 38%, oklch(0.86 0.010 225) 64%, oklch(0.79 0.014 228) 100%)"
// A fogbow is a broad, soft white arc in fog, with the sun behind the
// viewer. On fog it reads at a smaller ring and a stronger arc.
export default function FogbowDemo() {
return (
<div
className="relative isolate min-h-[28rem] w-full flex-1 overflow-hidden"
style={{ background: SKY }}
>
{/* the fog bank: two wide, soft bands of brighter mist */}
<div
aria-hidden="true"
className="absolute inset-x-[-20%] top-[48%] h-[22%] rounded-[50%] blur-[28px]"
style={{ background: "oklch(0.95 0.006 220 / 0.55)" }}
/>
<div
aria-hidden="true"
className="absolute inset-x-[-10%] top-[64%] h-[16%] rounded-[50%] blur-[22px]"
style={{ background: "oklch(0.97 0.004 220 / 0.5)" }}
/>
{/* the sea line, mostly swallowed by the mist */}
<div
aria-hidden="true"
className="absolute inset-x-0 top-[80%] h-[3%] blur-[10px]"
style={{ background: "oklch(0.64 0.022 235 / 0.35)" }}
/>
<Fogbow size={0.8} strength={1.6} />
</div>
)
}This example installs with everything it uses:
pnpm dlx shadcn@latest add @01orbital/fogbow-demonpx shadcn@latest add @01orbital/fogbow-demoyarn dlx shadcn@latest add @01orbital/fogbow-demobunx --bun shadcn@latest add @01orbital/fogbow-demoAPI reference
Full-bleed art layer — drop inside a relative parent; sits behind content.
Prop
Type
It also accepts the HTML attributes of the element it renders.
Dependencies
npm: cn. The CLI installs it for you.
Used in blocks
One block is built with Fogbow.
Last updated on