
A feature band with optional eyebrow label, large centered heading, muted description, and a capped four-item two-column grid of accent-backed tiles each with circular icon well, title, and supporting text.
@shadcnblocks
block/feature15/feature15.tsx
import {
Blocks,
ChartLine,
Globe,
Layers,
Lock,
Palette,
Rocket,
Settings,
Shield,
Sparkles,
Workflow,
Zap,
} from "lucide-react";
import { cn } from "cn";
interface FeatureIconListItem {
title: string;
description: string;
icon?: React.ReactNode;
href?: string;
}
interface FeatureIconListProps {
heading: string;
description?: string;
label?: string;
features?: FeatureIconListItem[];
className?: string;
}
interface Feature15Props extends FeatureIconListProps {}
type Props = Partial<Feature15Props>;
const defaultProps: Feature15Props = {
heading: "Build faster with production ready features",
description:
"Every component is built with React, Tailwind CSS, and shadcn/ui. Copy, paste, and customize to match your brand in minutes.",
label: "Features",
features: [
{
icon: <Zap className="size-5" />,
title: "Full Source Code",
description:
"Every block ships as plain React you own. No runtime dependency, no SDK lock-in, just copy and customize.",
},
{
icon: <Palette className="size-5" />,
title: "Responsive Design",
description:
"Every block adapts seamlessly from mobile to desktop with Tailwind's mobile-first utility classes.",
},
{
icon: <Shield className="size-5" />,
title: "Accessibility & Usability",
description:
"Built on Radix UI primitives with proper ARIA attributes, keyboard navigation, and focus management.",
},
{
icon: <Settings className="size-5" />,
title: "TypeScript Native",
description:
"Fully typed props and interfaces so your editor catches issues before they reach production.",
},
{
icon: <Layers className="size-5" />,
title: "Customizable",
description:
"Override any prop, swap icons, adjust spacing — every block is designed to be extended, not locked down.",
},
{
icon: <Rocket className="size-5" />,
title: "Production Ready",
description:
"Battle-tested in real projects. No placeholder hacks, no lorem ipsum — clean code you can ship today.",
},
{
icon: <Blocks className="size-5" />,
title: "Registry Compatible",
description:
"Install blocks directly with the shadcn CLI. Dependencies and registry items are listed in every block's MDX.",
},
{
icon: <Globe className="size-5" />,
title: "Framework Agnostic",
description:
"Plain ESM + React that works with Next.js, Vite, Remix, and Astro without any Shadcnblocks SDK.",
},
{
icon: <ChartLine className="size-5" />,
title: "Consistent Spacing",
description:
"Shared section padding, container widths, and gap scales so blocks stack into cohesive pages.",
},
{
icon: <Sparkles className="size-5" />,
title: "Theme Tokens",
description:
"All colors come from your shadcn/ui theme — foreground, muted, primary, card — no hardcoded values.",
},
{
icon: <Workflow className="size-5" />,
title: "Copy Paste Workflow",
description:
"Browse the explorer, preview with your theme, then copy the code directly into your project.",
},
{
icon: <Lock className="size-5" />,
title: "Open Source",
description:
"MIT-licensed source code you own completely. Fork it, modify it, sell products built with it.",
},
],
};
const MAX_FEATURES = 4;
const Feature15 = (props: Props) => {
const { heading, description, label, features, className } = {
...defaultProps,
...props,
};
const items = (features ?? []).slice(0, MAX_FEATURES);
return (
<section className={cn("py-32", className)}>
<div className="container">
<div className="flex w-full flex-col items-center">
<div className="flex flex-col items-center gap-4 text-center sm:gap-6 md:max-w-3xl md:text-center">
{label && <p className="text-sm text-muted-foreground">{label}</p>}
<h2 className="text-3xl font-semibold tracking-tight text-pretty md:text-5xl">
{heading}
</h2>
{description && (
<p className="text-muted-foreground md:max-w-2xl">
{description}
</p>
)}
</div>
</div>
<div className="mx-auto mt-20 grid max-w-5xl gap-6 md:grid-cols-2">
{items.map((feature, idx) => (
<div
key={idx}
className="flex flex-col justify-between rounded-lg bg-accent p-6 md:min-h-[300px] md:p-8"
>
<span className="mb-6 flex size-11 items-center justify-center rounded-full bg-background">
{feature.icon}
</span>
<div>
<h3 className="text-lg font-medium tracking-tight md:text-2xl">
{feature.title}
</h3>
<p className="mt-2 text-muted-foreground">
{feature.description}
</p>
</div>
</div>
))}
</div>
</div>
</section>
);
};
export { Feature15 };































