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>
);
}
















