honestui

AI Glow Border

Shaders

About

Light the edge of a prompt bar while an assistant thinks and replies, and fade it out when the reply is done.

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

Code

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

Usage.tsx

import "honestui/theme.css";
import AiGlowBorder from "@/components/ui/honest-ai-glow-border";

const tasks = [
  { title: "Drafting the weekly summary", palette: "mono" as const, label: "Mono" },
  { title: "Checking the figures", palette: ["#f59e0b", "#ef4444", "#f97316"], label: "Your colors" },
];

export default function AiGlowBorderPalettes() {
  return (
    <div data-theme="light" className="grid w-full max-w-md gap-10 px-6 py-8">
      {tasks.map((task) => (
        <AiGlowBorder key={task.title} state="streaming" palette={task.palette}>
          <div className="flex items-center justify-between gap-4 rounded-2xl border border-border bg-background px-4 py-3">
            <p className="text-sm font-medium text-foreground">{task.title}</p>
            <p className="text-[13px] text-muted-foreground">{task.label}</p>
          </div>
        </AiGlowBorder>
      ))}
    </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

  • Metaballs

    Metaballs

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