shadimage
ogimagecn
componentlogosource: ok · hit

Logo

A centered brand Open Graph image with a logo tile, a large wordmark, and an optional tagline on a soft gradient field.

npx shadcn add "https://ogimagecn.vercel.app/r/logo.json"
free

Where it goes

logo-cloud

Visual style

gradientpastel

Tags auto-generated by rules on 9/24/2026 — empty means no evidence, not lack of support.

Dependencies

Bundle weight · light

Registry dependencies

https://ogimagecn.com/r/brand-mark.json

Files1 · source cached 10/14/2026, 12:33:58 PM

registry/blocks/logo/index.tsx
import { BrandMark } from "@/components/og/brand-mark";

export interface LogoProps {
  brand: string;
  tagline?: string;
  monogram?: string;
  background: string;
  logo?: string;
}

export const Logo = ({
  brand,
  tagline,
  monogram,
  background,
  logo = "",
}: LogoProps) => {
  const isColor = background.startsWith("#");

  return (
    <div
      style={{
        alignItems: "center",
        backgroundColor: isColor ? background : "#09090b",
        backgroundImage: isColor
          ? `radial-gradient(circle at 50% 50%, rgba(124,58,237,0.2), transparent 60%)`
          : background,
        color: "#fafafa",
        display: "flex",
        flexDirection: "column",
        height: "100%",
        justifyContent: "center",
        width: "100%",
      }}
    >
      <BrandMark
        background="#7c3aed"
        radius={28}
        size={140}
        src={logo}
        style={
          logo
            ? undefined
            : {
                boxShadow: "0 24px 80px rgba(124,58,237,0.33)",
                color: "#ffffff",
                fontSize: "72px",
                fontWeight: 800,
              }
        }
      >
        {monogram}
      </BrandMark>

      <div
        style={{
          display: "flex",
          fontSize: "96px",
          fontWeight: 800,
          letterSpacing: "-0.04em",
          marginTop: "44px",
        }}
      >
        {brand}
      </div>

      {tagline ? (
        <div
          style={{
            color: "#a1a1aa",
            display: "flex",
            fontSize: "32px",
            marginTop: "16px",
          }}
        >
          {tagline}
        </div>
      ) : null}
    </div>
  );
};

More from ogimagecn

Browse all components in this library →