Component
Corporate Card
Professional corporate report card with header, metrics grid, progress bars, and export actions.
- Component
- Tailwind
- HTML
- MIT
Preview
Live component
9:41 100%
devsnips.dev/library/tailwind/components/cards/corporate-card/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Components/Cards/corporate-card Tailwind/Components/Cards/corporate-card <div class="bg-white rounded-xl border border-gray-200 overflow-hidden">
<div class="h-2 bg-gradient-to-r from-blue-600 via-blue-700 to-blue-800"></div>
<div class="p-6">
<div class="flex items-start justify-between mb-6">
<div class="flex items-center gap-4">
<div class="w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center">
<svg class="w-6 h-6 text-blue-700" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"/>
</svg>
</div>
<div>
<h3 class="font-bold text-gray-900">Quarterly Report</h3>
<p class="text-sm text-gray-500">Q4 2024 Performance Summary</p>
</div>
</div>
<span class="px-3 py-1 bg-blue-50 text-blue-700 text-xs font-semibold rounded">CONFIDENTIAL</span>
</div>
<div class="grid grid-cols-3 gap-4 mb-6">
<div class="text-center p-4 bg-gray-50 rounded-lg">
<p class="text-2xl font-bold text-gray-900">$2.4M</p>
<p class="text-xs text-gray-500 mt-1">Revenue</p>
</div>
<div class="text-center p-4 bg-gray-50 rounded-lg">
<p class="text-2xl font-bold text-gray-900">+18%</p>
<p class="text-xs text-gray-500 mt-1">Growth</p>
</div>
<div class="text-center p-4 bg-gray-50 rounded-lg">
<p class="text-2xl font-bold text-gray-900">847</p>
<p class="text-xs text-gray-500 mt-1">Clients</p>
</div>
</div>
<div class="space-y-3">
<div class="flex items-center justify-between py-2 border-b border-gray-100">
<span class="text-sm text-gray-600">Net Profit Margin</span>
<div class="flex items-center gap-2">
<div class="w-24 h-2 bg-gray-200 rounded-full overflow-hidden">
<div class="h-full bg-blue-600 rounded-full" style="width: 72%"></div>
</div>
<span class="text-sm font-medium text-gray-900">72%</span>
</div>
</div>
<div class="flex items-center justify-between py-2 border-b border-gray-100">
<span class="text-sm text-gray-600">Customer Retention</span>
<div class="flex items-center gap-2">
<div class="w-24 h-2 bg-gray-200 rounded-full overflow-hidden">
<div class="h-full bg-green-500 rounded-full" style="width: 89%"></div>
</div>
<span class="text-sm font-medium text-gray-900">89%</span>
</div>
</div>
<div class="flex items-center justify-between py-2">
<span class="text-sm text-gray-600">Employee Satisfaction</span>
<div class="flex items-center gap-2">
<div class="w-24 h-2 bg-gray-200 rounded-full overflow-hidden">
<div class="h-full bg-amber-500 rounded-full" style="width: 94%"></div>
</div>
<span class="text-sm font-medium text-gray-900">94%</span>
</div>
</div>
</div>
</div>
<div class="px-6 py-4 bg-gray-50 border-t border-gray-200 flex items-center justify-between">
<div class="flex items-center gap-2 text-xs text-gray-500">
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"/>
</svg>
<span>Generated Jan 15, 2025</span>
</div>
<button class="text-sm text-blue-600 font-medium hover:text-blue-700">Export PDF →</button>
</div>
</div> # Corporate Card
Corporate / business content card.
## Preview
Open `preview.html` for a standalone demonstration.
## Features
- Restrained business styling
- Title, body, optional actions
## Usage
```bash
npx devsnips add Tailwind/Components/Cards/corporate-card
```
Copy from `code.html`.
## Customization
- Colors, radius, shadow, typography
## Accessibility
- Prefer real headings for titles
## Dependencies
- Tailwind CSS only
## File Structure
- `code.html` · `preview.html` · `metadata.json` · `README.md` 75 lines UTF-8 · LF · Spaces: 2
Continue browsing