About
A single-color Google "G" SVG icon component that inherits the current text color for theme-aware usage.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Google Icon to your project and fits it to your theme.
Code
How Google Icon is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { GoogleIcon } from "@/components/ui/google-icon";
export default function GoogleIconDemo() {
return (
<div className="flex min-h-72 flex-col items-center justify-center gap-10 bg-background text-foreground">
<div className="flex items-end gap-8">
<GoogleIcon className="size-6" />
<GoogleIcon className="size-10" />
<GoogleIcon className="size-16 text-muted-foreground" />
</div>
<button className="inline-flex items-center gap-3 rounded-md border border-border bg-card px-5 py-2.5 text-sm font-medium text-foreground shadow-sm transition-colors hover:bg-accent">
<GoogleIcon className="size-5" />
Continue with Google
</button>
</div>
);
}















