Update Badge Pill
Latest update announcement with gray embossed badge, product copy, and emerald arrow CTA. Changelog and release note pattern for dev tools, SaaS apps, and component libraries.
Dependencies
react
lucide-react
npm install lucide-reactimport { ArrowUpRight } from "lucide-react";
export function UpdateBadgePill() {
return (
<div className="inline-flex items-center gap-3 rounded-full border border-zinc-200 bg-white px-2 py-2 pl-2 pr-4 shadow-[0_1px_0_#fff_inset,0_6px_20px_rgba(113,113,122,0.15)]">
<span className="rounded-full bg-gradient-to-b from-zinc-100 to-zinc-200 px-3 py-1 text-xs font-semibold text-zinc-600 shadow-[0_1px_0_#fff_inset,0_2px_4px_rgba(0,0,0,0.06)]">
Latest update
</span>
<span className="text-sm text-zinc-800">New feature added</span>
<ArrowUpRight className="h-4 w-4 text-emerald-500" />
</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 { ArrowUpRight } from "lucide-react";
export function UpdateBadgePill() {
return (
<div className="inline-flex items-center gap-3 rounded-full border border-zinc-200 bg-white px-2 py-2 pl-2 pr-4 shadow-[0_1px_0_#fff_inset,0_6px_20px_rgba(113,113,122,0.15)]">
<span className="rounded-full bg-gradient-to-b from-zinc-100 to-zinc-200 px-3 py-1 text-xs font-semibold text-zinc-600 shadow-[0_1px_0_#fff_inset,0_2px_4px_rgba(0,0,0,0.06)]">
Latest update
</span>
<span className="text-sm text-zinc-800">New feature added</span>
<ArrowUpRight className="h-4 w-4 text-emerald-500" />
</div>
);
}
Replace (Your Desired Section) and (YOUR HEX CODE COLOR) before pasting into Cursor, Copilot, or ChatGPT.