The Features Section component showcases the main features of ShipFree using an interactive tabbed interface with time-saving metrics.
import FeaturesSection from "@/app/(site)/FeaturesSection";
export default function HomePage() {
return (
<div>
<FeaturesSection />
{/* Other sections */}
</div>
);
}
The FeaturesSection component is self-contained and doesn’t accept any props.
Emails
Payments
Authentication
Database
SEO
Styling
import {
Mail,
CreditCard,
User,
Database,
FileJson,
Paintbrush,
MoreHorizontal,
Check,
} from "lucide-react";
import { Tabs, TabsList, TabsTrigger, TabsContent } from "@/components/ui/tabs";
export default function FeaturesSection() {
const features = [
{
id: "emails",
icon: Mail,
label: "Emails",
content: {
title: "Email Integration",
features: [
"Transactional email templates",
"Email verification flow",
// ...more features
],
timeSaved: "4 hours",
},
},
// ...more feature categories
];
return (
<div className="bg-zinc-900 min-h-screen text-gray-300 py-16 px-4">
<Tabs defaultValue="seo" className="w-full">
{/* Tabs content */}
</Tabs>
</div>
);
}
The component uses Tailwind CSS with:
Performance
Accessibility
User Experience
<FeaturesSection />
<div className="bg-gradient-to-b from-black to-zinc-900">
<FeaturesSection />
</div>
The component can be customized by:
Content Modification
Visual Adjustments
Layout Changes
Hero
- Often precedes the Features sectionPricing
- Complements feature informationMakerIntro
- Provides context for features