Component
Feature Card
Feature showcase card with icon, title, description, and checklist benefits. Includes hover effects.
- Component
- Tailwind
- HTML
- MIT
Preview
Live component
9:41 100%
devsnips.dev/library/tailwind/components/cards/feature-card/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Components/Cards/feature-card Tailwind/Components/Cards/feature-card <div class="relative bg-white rounded-2xl p-6 border border-gray-100 shadow-sm hover:shadow-lg transition-all duration-300 group overflow-hidden">
<div class="absolute inset-0 bg-gradient-to-br from-blue-50 via-transparent to-purple-50 opacity-0 group-hover:opacity-100 transition-opacity"></div>
<div class="relative">
<div class="w-14 h-14 rounded-2xl bg-gradient-to-br from-blue-500 to-blue-600 flex items-center justify-center mb-5 shadow-lg shadow-blue-500/25 group-hover:scale-110 transition-transform">
<svg class="w-7 h-7 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"/>
</svg>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Lightning Fast Performance</h3>
<p class="text-gray-600 text-sm leading-relaxed mb-5">Built with performance in mind. Our components are optimized for the fastest load times and smoothest interactions.</p>
<div class="space-y-3">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-lg bg-green-100 flex items-center justify-center">
<svg class="w-4 h-4 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
</svg>
</div>
<span class="text-sm text-gray-700">Sub-second page loads</span>
</div>
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-lg bg-green-100 flex items-center justify-center">
<svg class="w-4 h-4 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
</svg>
</div>
<span class="text-sm text-gray-700">Lazy loading included</span>
</div>
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-lg bg-green-100 flex items-center justify-center">
<svg class="w-4 h-4 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
</svg>
</div>
<span class="text-sm text-gray-700">Minimal bundle size</span>
</div>
</div>
<a href="#" class="inline-flex items-center gap-2 mt-6 text-blue-600 font-medium text-sm hover:text-blue-700 transition-colors">
Learn more
<svg class="w-4 h-4 group-hover:translate-x-1 transition-transform" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
</svg>
</a>
</div>
</div> # Feature Card
Feature highlight card with icon, title, and description.
## Preview
Open `preview.html` for a standalone demonstration.
## Features
- Icon + title + body
- Compact marketing-friendly layout
## Usage
```bash
npx devsnips add Tailwind/Components/Cards/feature-card
```
Copy from `code.html`.
## Customization
- Icon container colors, typography, spacing
## Accessibility
- Decorative icons `aria-hidden`
## Dependencies
- Tailwind CSS only
## File Structure
- `code.html` · `preview.html` · `metadata.json` · `README.md` 48 lines UTF-8 · LF · Spaces: 2
Continue browsing