Components
Glowing Horizon
A glowing horizon line.
ProPro, coming soon.
A new day for your data
<GlowingHorizon>
<Hero />
</GlowingHorizon>Get notified
Glowing Horizon is a Pro effect. Join the waitlist and we'll email you when it's available.
Usage
A glowing line runs along the curve of a dark planet, with a soft haze above it that breathes slowly. It's pure CSS. Put your headline above the line.
import { GlowingHorizon } from "@zjkm/pro/glowing-horizon";
export function Hero() {
return (
<GlowingHorizon className="h-[480px] rounded-2xl p-16" color="#60a5fa">
<h1 className="text-white">A new day for your data</h1>
</GlowingHorizon>
);
}Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | Content shown above the horizon. | |
color | string | "#60a5fa" | Glow colour. |
position | number | 0.65 | How far down the horizon sits, from 0 (top) to 1 (bottom). |
className | string | Classes for the wrapper. |
With reduced motion, the haze stays still.