Simple 3D Pill
Simple 3D announcement pill with emerald status dot, gray gradient surface, inset highlight, and soft drop shadow. Minimal React component for feature releases and changelog links. Uses lucide-react ArrowUpRight icon.
Dependencies
react
lucide-react
npm install lucide-reactimport { ArrowUpRight } from "lucide-react";
export function Simple3DPill() {
return (
<div className="inline-flex items-center gap-2 rounded-full border border-zinc-200/80 bg-gradient-to-b from-white to-zinc-100 px-4 py-2 text-sm font-medium text-zinc-700 shadow-[0_1px_0_rgba(255,255,255,0.9)_inset,0_4px_12px_rgba(0,0,0,0.08),0_1px_2px_rgba(0,0,0,0.06)]">
<span className="h-2 w-2 rounded-full bg-emerald-500 shadow-[0_0_8px_rgba(16,185,129,0.6)]" />
New feature added
<ArrowUpRight className="h-3.5 w-3.5 text-emerald-600" />
</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 Simple3DPill() {
return (
<div className="inline-flex items-center gap-2 rounded-full border border-zinc-200/80 bg-gradient-to-b from-white to-zinc-100 px-4 py-2 text-sm font-medium text-zinc-700 shadow-[0_1px_0_rgba(255,255,255,0.9)_inset,0_4px_12px_rgba(0,0,0,0.08),0_1px_2px_rgba(0,0,0,0.06)]">
<span className="h-2 w-2 rounded-full bg-emerald-500 shadow-[0_0_8px_rgba(16,185,129,0.6)]" />
New feature added
<ArrowUpRight className="h-3.5 w-3.5 text-emerald-600" />
</div>
);
}
Replace (Your Desired Section) and (YOUR HEX CODE COLOR) before pasting into Cursor, Copilot, or ChatGPT.