Skip to main content

Feature Card

Display a feature with icon, title, and description. Perfect for landing pages and feature showcases.

Preview

Installation

Terminalbash

Usage

Reacttsx

Examples

RTL Support

FeatureCard automatically adapts to RTL layouts. The icon and text alignment mirror based on the current direction.

Reacttsx

Props

NameTypeDefaultDescription
title
Required
stringThe title/heading of the feature card
description
Required
stringThe description text explaining the feature
icon
Required
LucideIconLucide icon component to display
href
stringOptional link URL. When provided, the card becomes clickable
className
stringAdditional CSS classes to apply

Best Practices

Do

  • Use meaningful icons that represent the feature
  • Keep titles short and descriptive (2-5 words)
  • Provide clear, benefit-focused descriptions
  • Use consistent icon style across all feature cards
  • Ensure adequate spacing between cards for visual clarity

Don't

  • Don't use for long-form content
  • Don't use different icon styles within the same section
  • Don't overcrowd the layout with too many features at once
  • Don't use vague titles or descriptions
  • Don't neglect to provide icons when showcasing features

Related Components