TetraKits UI Stacked Icon Pills ← Library

Stacked Icon Pills

Stacked pair of compact announcement pills with green circular icon badges and embossed gray surfaces. Weekly release and custom notification patterns for dashboards and docs sidebars.

stacked pillsicon announcementcompact noticesmulti badge uireact components
Live preview

Dependencies

react lucide-react
npm install lucide-react
import { Plus, Triangle } from "lucide-react";

export function StackedIconPills() {
  const items = [
    { icon: Plus, text: "New releases every week" },
    { icon: Triangle, text: "Custom icon pill" },
  ];
  return (
    <div className="flex flex-col gap-2">
      {items.map(({ icon: Icon, text }) => (
        <div key={text} className="inline-flex w-fit items-center gap-2 rounded-full border border-zinc-200 bg-gradient-to-b from-zinc-50 to-zinc-200/60 px-3 py-1.5 text-xs font-medium text-zinc-700 shadow-[0_1px_0_#fff_inset,0_4px_12px_rgba(0,0,0,0.07)]">
          <span className="flex h-5 w-5 items-center justify-center rounded-full bg-gradient-to-b from-emerald-400 to-emerald-600 text-white shadow-[0_2px_4px_rgba(5,150,105,0.35)]">
            <Icon className="h-3 w-3" />
          </span>
          {text}
        </div>
      ))}
    </div>
  );
}