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/integrations-3.jsonPrefer to iterate with AI?Open in
Usage
The CLI writes the block to components/integrations-3.tsx. Import it anywhere:
Loading...
Source
The CLI writes this component to components/integrations-3.tsx.
import { Gemini, Replit, MagicUI, VSCodium, MediaWiki, GooglePaLM } from '@/components/logos'
import { Logo } from '@/components/logo'
import { cn } from '@/lib/utils'
import { Button } from '@/components/ui/button'
import Link from 'next/link'
export default function IntegrationsSection() {
return (
<section>
<div className="bg-muted dark:bg-background py-24 md:py-32">
<div className="mx-auto max-w-5xl px-6">
<div className="grid items-center sm:grid-cols-2">
<div className="dark:bg-muted/50 relative mx-auto w-fit">
<div className="bg-radial to-muted dark:to-background absolute inset-0 z-10 from-transparent to-75%"></div>
<div className="mx-auto mb-2 flex w-fit justify-center gap-2">
<IntegrationCard>
<Gemini />
</IntegrationCard>
<IntegrationCard>
<Replit />
</IntegrationCard>
</div>
<div className="mx-auto my-2 flex w-fit justify-center gap-2">
<IntegrationCard>
<MagicUI />
</IntegrationCard>
<IntegrationCard
borderClassName="shadow-black-950/10 shadow-xl border-black/25 dark:border-white/25"
className="dark:bg-white/10">
<Logo />
</IntegrationCard>
<IntegrationCard>
<VSCodium />
</IntegrationCard>
</div>
<div className="mx-auto flex w-fit justify-center gap-2">
<IntegrationCard>
<MediaWiki />
</IntegrationCard>
<IntegrationCard>
<GooglePaLM />
</IntegrationCard>
</div>
</div>
<div className="mx-auto mt-6 max-w-lg space-y-6 text-center sm:mt-0 sm:text-left">
<h2 className="text-balance text-3xl font-semibold md:text-4xl">Integrate with your favorite tools</h2>
<p className="text-muted-foreground">Connect seamlessly with popular platforms and services to enhance your workflow.</p>
<Button
variant="outline"
size="sm"
asChild>
<Link href="#">Get Started</Link>
</Button>
</div>
</div>
</div>
</div>
</section>
)
}
const IntegrationCard = ({ children, className, borderClassName }: { children: React.ReactNode; className?: string; borderClassName?: string }) => {
return (
<div className={cn('bg-background relative flex size-20 rounded-xl dark:bg-transparent', className)}>
<div
role="presentation"
className={cn('absolute inset-0 rounded-xl border border-black/20 dark:border-white/25', borderClassName)}
/>
<div className="relative z-20 m-auto size-fit *:size-8">{children}</div>
</div>
)
}
More integrations blocks
View all 8 →- Integrations 101Integration cards with logos, descriptions and links.
- Integrations 202Integration logos orbiting a central brand mark.
- Integrations 404Integration logos arranged in rings around a logo.
- Integrations 505Integration logos in a connected layout with a CTA.
- Integrations 606LLM integrations grid with a heading and CTA.
- Integrations 707Integrations with an infinite logo slider and a central mark.