Glow Sparkle Pill
Glow sparkle announcement pill with green outer halo, Sparkles icon, and 3D white gradient body. Product launch and magic-feature reveal style inspired by premium UI kits. Lucide-react icons included.
Dependencies
react
lucide-react
npm install lucide-reactimport { ArrowRight, Sparkles } from "lucide-react";
export function GlowSparklePill() {
return (
<div className="rounded-full bg-gradient-to-b from-white to-zinc-50 p-[1px] shadow-[0_0_32px_rgba(52,211,153,0.35),0_8px_24px_rgba(0,0,0,0.08)]">
<div className="flex items-center gap-2 rounded-full bg-gradient-to-b from-white to-zinc-100 px-4 py-2.5 shadow-[0_1px_0_#fff_inset]">
<Sparkles className="h-4 w-4 text-emerald-500" />
<span className="text-sm font-semibold text-zinc-800">Introducing TetraKits UI</span>
<ArrowRight className="h-4 w-4 text-emerald-600" />
</div>
</div>
);
}
Please implement this code in the current project and add it to (Your Desired Section, e.g. homepage hero, pricing page, dashboard). Change the primary accent color to (YOUR HEX CODE COLOR, e.g. #6366F1).
Requirements:
- Use React + Tailwind CSS (match the project's existing setup)
- Install dependencies if needed: npm install lucide-react
- Keep the layout responsive on mobile and desktop
- Replace placeholder copy with content that fits the project
The UI code:
import { ArrowRight, Sparkles } from "lucide-react";
export function GlowSparklePill() {
return (
<div className="rounded-full bg-gradient-to-b from-white to-zinc-50 p-[1px] shadow-[0_0_32px_rgba(52,211,153,0.35),0_8px_24px_rgba(0,0,0,0.08)]">
<div className="flex items-center gap-2 rounded-full bg-gradient-to-b from-white to-zinc-100 px-4 py-2.5 shadow-[0_1px_0_#fff_inset]">
<Sparkles className="h-4 w-4 text-emerald-500" />
<span className="text-sm font-semibold text-zinc-800">Introducing TetraKits UI</span>
<ArrowRight className="h-4 w-4 text-emerald-600" />
</div>
</div>
);
}
Replace (Your Desired Section) and (YOUR HEX CODE COLOR) before pasting into Cursor, Copilot, or ChatGPT.