import {
Cable,
Code,
Contrast,
MonitorSmartphone,
SquareDashedMousePointer,
Zap,
} from "lucide-react";
import { StatsCard } from "./stats-card";
const features = [
{
title: "Blazing Fast Performance",
description:
"Optimized for speed with minimal loading times and instant interactions, ensuring a smooth experience across devices.",
icon: Zap,
},
{
title: "Fully Customizable",
description:
"Tailor every component to match your brand or workflow — with built-in support for themes, layouts, and configurations.",
icon: SquareDashedMousePointer,
},
{
title: "Developer-Friendly",
description:
"Built with clean, modern code and best practices in mind, making it easy to integrate, extend, and scale.",
icon: Code,
},
{
title: "Responsive by Default",
description:
"Every component is designed to look great on all screen sizes — no extra work needed to make things mobile-friendly.",
icon: MonitorSmartphone,
},
{
title: "Accessible for Everyone",
description:
"Built with accessibility best practices in mind to ensure an inclusive experience for all users, regardless of ability.",
icon: Contrast,
},
{
title: "Seamless Integration",
description:
"Easily connect with your favorite tools, APIs, and services — whether it's authentication, databases, or third-party libraries.",
icon: Cable,
},
];
const Features = () => {
return (
<div className="mx-auto flex max-w-7xl flex-col px-6 py-20">
<h2 className="text-center text-4xl font-medium tracking-tight text-pretty">
All the right tools
</h2>
<p className="mt-3 text-center text-muted-foreground text-xl -tracking-[0.01em] sm:text-2xl">
Practical components designed for production
</p>
<div className="mt-20 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3">
{features.map((feature, index) => (
<div
className="rounded-xl border border-border/80 bg-card px-5 pt-7 pb-0 shadow-xs/3"
key={index}
>
<div className="flex items-center gap-3">
<div className="flex h-8 w-8 items-center justify-center rounded-lg bg-primary/7 text-primary dark:bg-primary/10">
<feature.icon className="h-5 w-5" />
</div>
<h3 className="font-medium text-lg tracking-[-0.005em]">
{feature.title}
</h3>
</div>
<p className="mt-4 text-base text-foreground/80">
{feature.description}
</p>
<div className="mt-8 -mr-5">
<StatsCard className="rounded-br-lg" />
</div>
</div>
))}
</div>
</div>
);
};
export default Features;