Components
A single-color Google "G" SVG icon component that inherits the current text color for theme-aware usage.
Loading preview...
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>
);
}