Skip to Content
zjkm-ui
Components

Glowing Horizon

A glowing horizon line.

ProPro, coming soon.

A new day for your data

Props
0.65
<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

PropTypeDefaultDescription
childrenReactNodeContent shown above the horizon.
colorstring"#60a5fa"Glow colour.
positionnumber0.65How far down the horizon sits, from 0 (top) to 1 (bottom).
classNamestringClasses for the wrapper.

With reduced motion, the haze stays still.

On this page