Components
Features Grid
The Features Grid component displays your product's key features in a clean, responsive grid layout. Each feature includes an icon, title, and description to help users understand your value proposition.
Usage
import { FeaturesGrid } from '@/components/sections';
export default function HomePage() {
return (
<div>
<FeaturesGrid />
{/* Other sections */}
</div>
);
}
Features
- Icon-driven design - Visual icons from Lucide React
- Responsive grid - Adapts to different screen sizes
- Feature highlights - Title and description for each feature
- Consistent spacing - Uniform layout and typography
- Dark mode support - Works with light and dark themes
Structure
The component includes a grid of features, each with:
- Icon - From Lucide React icon library
- Title - Short, descriptive feature name
- Description - Brief explanation of the feature benefit
Default Features
The component comes with these pre-configured features:
- Lightning Fast - Next.js 15 performance optimization
- Secure by Default - Enterprise-grade security
- Mobile First - Responsive design approach
- Developer Experience - Great DX with TypeScript
- Database Ready - Drizzle ORM integration
- Beautiful UI - shadcn/ui components
- Global Ready - Internationalization support
- Analytics Built-in - User tracking and insights
- Monitoring - Error tracking and performance
- Authentication - Secure user management
- Email Integration - Transactional emails
- Payments Ready - Stripe integration
Customization
Adding New Features
Edit the features array in the component:
const features = [
{
icon: YourIcon,
title: 'Your Feature',
description: 'Description of your feature benefit.',
},
// ... other features
];
Changing Icons
Replace icons from the Lucide React library:
import {
NewIcon,
AnotherIcon,
// ... other icons
} from 'lucide-react';
Grid Layout
The component uses responsive grid classes:
grid-cols-1
- 1 column on mobilemd:grid-cols-2
- 2 columns on medium screenslg:grid-cols-3
- 3 columns on large screens
Styling
Key styling features:
- Card-based design with subtle borders
- Hover effects for interactivity
- Icon theming with consistent sizing
- Typography hierarchy with title and description styles
- Spacing consistency using Tailwind's spacing scale
Dependencies
lucide-react
- For feature icons- Tailwind CSS classes for layout and styling
Best Practices
- Limit features - Show 6-12 key features maximum
- Clear benefits - Focus on user benefits, not technical features
- Consistent descriptions - Keep description length similar
- Relevant icons - Choose icons that clearly represent each feature
- Test responsiveness - Ensure grid works on all screen sizes
Icon Options
Popular Lucide React icons for features:
Zap
- Speed/PerformanceShield
- SecuritySmartphone
- MobileCode
- Developer ExperienceDatabase
- Data ManagementPalette
- Design/UIGlobe
- Global/InternationalBarChart3
- AnalyticsLock
- Privacy/SecurityMail
- Email/CommunicationCreditCard
- Payments
This component effectively communicates your product's value proposition through clear, visual feature presentation.