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/content-6.jsonPrefer to iterate with AI?Open in
Usage
The CLI writes the block to components/content-6.tsx. Import it anywhere:
Loading...
Source
The CLI writes this component to components/content-6.tsx.
import Link from 'next/link'
export default function CommunitySection() {
return (
<section className="py-16 md:py-32">
<div className="mx-auto max-w-5xl px-6">
<div className="text-center">
<h2 className="text-3xl font-semibold">
Built by the Community <br /> for the Community
</h2>
<p className="mt-6">Thousands of developers ship with Lyra every day.</p>
</div>
<div className="mx-auto mt-12 flex max-w-lg flex-wrap justify-center gap-3">
<Link href="#" title="Community member" className="size-16 rounded-full border *:size-full *:rounded-full *:object-cover">
<img alt="Community member" src="https://randomuser.me/api/portraits/men/1.jpg" loading="lazy" width={120} height={120} />
</Link>
<Link href="#" title="Community member" className="size-16 rounded-full border *:size-full *:rounded-full *:object-cover">
<img alt="Community member" src="https://randomuser.me/api/portraits/men/2.jpg" loading="lazy" width={120} height={120} />
</Link>
<Link href="#" title="Community member" className="size-16 rounded-full border *:size-full *:rounded-full *:object-cover">
<img alt="Community member" src="https://randomuser.me/api/portraits/men/3.jpg" loading="lazy" width={120} height={120} />
</Link>
<Link href="#" title="Community member" className="size-16 rounded-full border *:size-full *:rounded-full *:object-cover">
<img alt="Community member" src="https://randomuser.me/api/portraits/men/4.jpg" loading="lazy" width={120} height={120} />
</Link>
<Link href="#" title="Community member" className="size-16 rounded-full border *:size-full *:rounded-full *:object-cover">
<img alt="Community member" src="https://randomuser.me/api/portraits/men/5.jpg" loading="lazy" width={120} height={120} />
</Link>
<Link href="#" title="Community member" className="size-16 rounded-full border *:size-full *:rounded-full *:object-cover">
<img alt="Community member" src="https://randomuser.me/api/portraits/men/6.jpg" loading="lazy" width={120} height={120} />
</Link>
<Link href="#" title="Community member" className="size-16 rounded-full border *:size-full *:rounded-full *:object-cover">
<img alt="Community member" src="https://randomuser.me/api/portraits/men/7.jpg" loading="lazy" width={120} height={120} />
</Link>
<Link href="#" title="Community member" className="size-16 rounded-full border *:size-full *:rounded-full *:object-cover">
<img alt="Community member" src="https://randomuser.me/api/portraits/men/1.jpg" loading="lazy" width={120} height={120} />
</Link>
<Link href="#" title="Community member" className="size-16 rounded-full border *:size-full *:rounded-full *:object-cover">
<img alt="Community member" src="https://randomuser.me/api/portraits/men/8.jpg" loading="lazy" width={120} height={120} />
</Link>
<Link href="#" title="Community member" className="size-16 rounded-full border *:size-full *:rounded-full *:object-cover">
<img alt="Community member" src="https://randomuser.me/api/portraits/men/9.jpg" loading="lazy" width={120} height={120} />
</Link>
<Link href="#" title="Community member" className="size-16 rounded-full border *:size-full *:rounded-full *:object-cover">
<img alt="Community member" src="https://randomuser.me/api/portraits/men/10.jpg" loading="lazy" width={120} height={120} />
</Link>
</div>
</div>
</section>
)
}
More content blocks
View all 7 →- Content 101Content section with a product illustration and a pull quote.
- Content 202Two-column content with an image and an icon feature list.
- Content 303Content section with a wide image and icon-led supporting points.
- Content 404Text-first content section with a heading, body copy and a CTA.
- Content 505Content section with a screenshot and a grid of highlights.
- Content 707Content section pairing an app screenshot with icon-led copy.