Edwin Vakayil

Favicon Badge

Component 12

About

Circular website favicon badge with optional label text, spring entrance animation, and automatic favicon resolution from a domain or URL.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Favicon Badge to your project and fits it to your theme.

Code

How Favicon Badge is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import FaviconBadge from "@/components/ui/favicon-badge";

export default function FaviconBadgeDemo() {
  return (
    <div className="flex min-h-[240px] flex-col items-center justify-center gap-5">
      <FaviconBadge website="github.com" label="GitHub" />
      <FaviconBadge website="vercel.com" label="Vercel" size="lg" />
      <div className="flex items-center gap-3">
        <FaviconBadge website="stripe.com" size="sm" />
        <FaviconBadge website="figma.com" size="sm" />
        <FaviconBadge website="notion.so" size="sm" />
      </div>
    </div>
  );
}

Dependencies