honestui

Aurora

Shaders

About

Drift curtains of colored light across a section, like the northern lights.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Aurora to your project and fits it to your theme.

Code

How Aurora is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import Aurora from "@/components/ui/honest-aurora";

interface AuroraSettings {
  colorStops: string[];
  amplitude: number;
  blend: number;
  intensity: number;
  height: number;
  speed: number;
  paused: boolean;
}

const defaults: AuroraSettings = {
  colorStops: ["#7ee0c3", "#6aa8f0", "#a58cf0"],
  amplitude: 1,
  blend: 0.5,
  intensity: 0.85,
  height: 0.55,
  speed: 1,
  paused: false,
};

export default function AuroraDemo() {
  const settings = defaults;

  return (
    <div className="flex min-h-[420px] w-full items-center justify-center p-6">
      <div className="h-80 w-full max-w-xl overflow-hidden rounded-xl">
        <div className="size-full bg-[#0b0f1a]">
          <Aurora className="size-full" {...settings} />
        </div>
      </div>
    </div>
  );
}

Dependencies

More by honestui

View all
  • Chromatic Text Reveal

    Chromatic Text Reveal

    30
  • Schedule Builder

    Schedule Builder

  • Audit Log

    Audit Log

  • Secret Row

    Secret Row

  • Undoable Action

    Undoable Action

  • OTP Field

    OTP Field

  • Audio Orb

    Audio Orb

  • AI Glow Border

    AI Glow Border

More in Shaders

View all
  • Glass Fold

    Glass Fold

    588
  • Shader Animation

    Shader Animation

    3.9K
  • Chroma Sense Hero

    Chroma Sense Hero

    22
  • LightSpeed

    LightSpeed

    253
  • Illos Knowledge Sources

    Illos Knowledge Sources

    74
  • Shader Lines

    Shader Lines

    2.5K
  • Molten Pillars

    Molten Pillars

    18
  • Wave

    Wave

    730