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-3.jsonPrefer to iterate with AI?Open in
Usage
The CLI writes the block to components/content-3.tsx. Import it anywhere:
Loading...
Source
The CLI writes this component to components/content-3.tsx.
import { Button } from '@/components/ui/button'
import { ChevronRight } from 'lucide-react'
import Link from 'next/link'
export default function ContentSection() {
return (
<section className="py-16 md:py-32">
<div className="mx-auto max-w-5xl space-y-8 px-6 md:space-y-12">
<img className="rounded-(--radius) grayscale" src="https://images.unsplash.com/photo-1530099486328-e021101a494a?q=80&w=2747&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" alt="team image" height="" width="" loading="lazy" />
<div className="grid gap-6 md:grid-cols-2 md:gap-12">
<h2 className="text-4xl font-medium">The Lyra ecosystem brings together our models, products and platforms.</h2>
<div className="space-y-6">
<p>Lyra is evolving to be more than just the models. It supports an entire ecosystem — from products to the APIs and platforms helping developers and businesses innovate.</p>
<Button asChild variant="secondary" size="sm" className="gap-1 pr-1.5">
<Link href="#">
<span>Learn More</span>
<ChevronRight className="size-2" />
</Link>
</Button>
</div>
</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 404Text-first content section with a heading, body copy and a CTA.
- Content 505Content section with a screenshot and a grid of highlights.
- Content 606Community section with a grid of contributor avatars.
- Content 707Content section pairing an app screenshot with icon-led copy.