# Social-Proof-Companies-1

> A social proof section that displays brand logos in a grid layout

A shadcn/ui block from the [@hexui](https://hexui.sh) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/hexui/social-proof-companies-1).

- Page, with a live preview: https://shadcn.exchange/r/hexui/social-proof-companies-1
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/hexui/social-proof-companies-1-light-5d4d578d81d9a74f.png
- Registry item: https://hexui.sh/r/social-proof-companies-1.json
- Categories: social-proof
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://hexui.sh/r/social-proof-companies-1.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Files

### `registry/blocks/social-proof/social-proof-companies-1/source/app/social-proof/page.tsx`

```tsx
import { SocialProof } from "../../components/social-proof"

export default function Page() {
    return (
        <SocialProof />
    )
}
```

### `registry/blocks/social-proof/social-proof-companies-1/source/components/social-proof.tsx`

```tsx
import Image from "next/image";

// Logos registry
const logos = [
    { src: "/demo/logos/cursor.svg", alt: "Cursor logo" },
    { src: "/demo/logos/discord.svg", alt: "Discord logo" },
    { src: "/demo/logos/framer.svg", alt: "Framer logo" },
    { src: "/demo/logos/polar.svg", alt: "Polar logo" },
    { src: "/demo/logos/google.svg", alt: "Google logo" },
    { src: "/demo/logos/linear.svg", alt: "Linear logo" },
    { src: "/demo/logos/netflix.svg", alt: "Netflix logo" },
    { src: "/demo/logos/openai.svg", alt: "OpenAI logo" },
];

export function SocialProof() {
    return (
        <div className="mx-auto flex min-h-dvh w-full max-w-sm flex-col items-center justify-center px-4 md:max-w-3xl">
            {/* Description */}
            <div className="flex flex-col">
                <p className="text-center text-sm md:text-base text-muted-foreground">LOGO WALL</p>
                <p className="text-center text-xs md:text-sm text-muted-foreground">Some logos are for illustrative purposes only.</p>
            </div>

            {/* Logos */}
            <div className="grid grid-cols-2 md:grid-cols-4 w-full">
                {logos.map((logo) => (
                    <div
                        key={logo.alt}
                        className="logo-item flex items-center justify-center w-full aspect-video"
                    >
                        <div className="flex items-center justify-center relative w-28 md:w-26 lg:w-30 aspect-video">
                            {/* Invert logos in light mode only; assumes SVGs are white-on-transparent. */}
                            <Image
                                src={logo.src}
                                alt={logo.alt}
                                fill
                                loading="eager"
                                className="object-contain opacity-80 not-dark:invert-100"
                            />
                        </div>
                    </div>
                ))}
            </div>
        </div>
    )
}
```
