Installation
Run this in a project that already uses shadcn/ui. The CLI adds the block, its components and npm dependencies.
pnpm dlx shadcn@latest add https://ui.sumansharma.info.np/r/logo-cloud-1.jsonPrefer to iterate with AI?Open in
Usage
The CLI writes the block to components/logo-cloud.tsx. Import it anywhere:
Loading...
Source
The CLI writes this component to components/logo-cloud.tsx.
export default function LogoCloud() {
return (
<section className="bg-background py-16">
<div className="mx-auto max-w-5xl px-6">
<h2 className="text-center text-lg font-medium">Your favorite companies are our partners.</h2>
<div className="mx-auto mt-20 flex max-w-4xl flex-wrap items-center justify-center gap-x-12 gap-y-8 sm:gap-x-16 sm:gap-y-12">
<img className="h-5 w-fit dark:invert" src="https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/nvidia.svg" alt="Nvidia Logo" height="20" width="auto" />
<img className="h-4 w-fit dark:invert" src="https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/stripe.svg" alt="Stripe Logo" height="16" width="auto" />
<img className="h-4 w-fit dark:invert" src="https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/github.svg" alt="GitHub Logo" height="16" width="auto" />
<img className="h-5 w-fit dark:invert" src="https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/nike.svg" alt="Nike Logo" height="20" width="auto" />
<img className="h-4 w-fit dark:invert" src="https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/laravel.svg" alt="Laravel Logo" height="16" width="auto" />
<img className="h-7 w-fit dark:invert" src="https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/supabase.svg" alt="Supabase Logo" height="28" width="auto" />
<img className="h-5 w-fit dark:invert" src="https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/lemonsqueezy.svg" alt="Lemon Squeezy Logo" height="20" width="auto" />
<img className="h-6 w-fit dark:invert" src="https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/anthropic.svg" alt="Anthropic Logo" height="24" width="auto" />
<img className="h-4 w-fit dark:invert" src="https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/tailwindcss.svg" alt="Tailwind CSS Logo" height="16" width="auto" />
<img className="h-5 w-fit dark:invert" src="https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/vercel.svg" alt="Vercel Logo" height="20" width="auto" />
<img className="h-5 w-fit dark:invert" src="https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/zapier.svg" alt="Zapier Logo" height="20" width="auto" />
</div>
</div>
</section>
)
}