FeaturesSection
The FeaturesSection
component highlights product features in an interactive layout.
Usage
import FeaturesSection from "@/components/homepage/FeaturesSection";
import { config } from "@/config";
function HomePage() {
return <FeaturesSection {...config.homepage.featuresSection} />;
}
Props
title
: The main title of the features sectiondescription
: A brief description of the featuresuseTabLayout
: Boolean to toggle between tab and accordion layoutsfeatures
: An array of feature objects, each containing:title
: The feature titledescription
: The feature descriptionicon
: An icon componentimage
: The path to the feature image
Functionality
- Displays product features in either a tab or accordion layout
- Supports icons and images for each feature
- Provides interactive selection of features
Customization
The component uses Tailwind CSS and Framer Motion for styling and animations. You can customize the appearance by modifying the CSS classes or updating the animation configurations.