Component
Striped Table
Recruitment pipeline table with alternating row colors for improved readability. Features candidate photos, match scores with progress bars, and application status badges.
- Component
- Tailwind
- HTML
- MIT
Preview
Live component
9:41 100%
devsnips.dev/library/tailwind/components/tables/striped-table/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Components/Tables/striped-table Tailwind/Components/Tables/striped-table <div class="bg-white rounded-xl shadow-sm border border-gray-200 overflow-x-auto">
<table class="w-full min-w-[640px]">
<thead>
<tr class="bg-slate-900 text-white">
<th class="px-5 py-4 text-left text-xs font-semibold uppercase tracking-wider">Candidate</th>
<th class="px-5 py-4 text-left text-xs font-semibold uppercase tracking-wider">Position</th>
<th class="px-5 py-4 text-left text-xs font-semibold uppercase tracking-wider">Experience</th>
<th class="px-5 py-4 text-left text-xs font-semibold uppercase tracking-wider">Applied</th>
<th class="px-5 py-4 text-left text-xs font-semibold uppercase tracking-wider">Score</th>
<th class="px-5 py-4 text-left text-xs font-semibold uppercase tracking-wider">Status</th>
</tr>
</thead>
<tbody class="divide-y divide-gray-100">
<tr class="bg-white">
<td class="px-5 py-4">
<div class="flex items-center gap-3">
<img src="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=80&h=80&fit=crop&crop=faces" alt="James Wilson" class="w-10 h-10 rounded-full object-cover">
<div>
<p class="text-sm font-medium text-gray-900">James Wilson</p>
<p class="text-xs text-gray-500">james.wilson@mail.com</p>
</div>
</div>
</td>
<td class="px-5 py-4 text-sm text-gray-700">Senior Frontend Engineer</td>
<td class="px-5 py-4 text-sm text-gray-600">8 years</td>
<td class="px-5 py-4 text-sm text-gray-500">Feb 28, 2026</td>
<td class="px-5 py-4">
<div class="flex items-center gap-2">
<div class="w-16 h-2 bg-gray-200 rounded-full overflow-hidden">
<div class="h-full bg-emerald-500 rounded-full" style="width: 94%"></div>
</div>
<span class="text-sm font-medium text-emerald-600">94%</span>
</div>
</td>
<td class="px-5 py-4">
<span class="inline-flex items-center px-2.5 py-1 rounded-full text-xs font-medium bg-emerald-100 text-emerald-700">Interview</span>
</td>
</tr>
<tr class="bg-gray-50">
<td class="px-5 py-4">
<div class="flex items-center gap-3">
<img src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=80&h=80&fit=crop&crop=faces" alt="Sophia Martinez" class="w-10 h-10 rounded-full object-cover">
<div>
<p class="text-sm font-medium text-gray-900">Sophia Martinez</p>
<p class="text-xs text-gray-500">sophia.m@outlook.com</p>
</div>
</div>
</td>
<td class="px-5 py-4 text-sm text-gray-700">Product Designer</td>
<td class="px-5 py-4 text-sm text-gray-600">5 years</td>
<td class="px-5 py-4 text-sm text-gray-500">Mar 1, 2026</td>
<td class="px-5 py-4">
<div class="flex items-center gap-2">
<div class="w-16 h-2 bg-gray-200 rounded-full overflow-hidden">
<div class="h-full bg-blue-500 rounded-full" style="width: 88%"></div>
</div>
<span class="text-sm font-medium text-blue-600">88%</span>
</div>
</td>
<td class="px-5 py-4">
<span class="inline-flex items-center px-2.5 py-1 rounded-full text-xs font-medium bg-blue-100 text-blue-700">Reviewing</span>
</td>
</tr>
<tr class="bg-white">
<td class="px-5 py-4">
<div class="flex items-center gap-3">
<img src="https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=80&h=80&fit=crop&crop=faces" alt="Michael Chen" class="w-10 h-10 rounded-full object-cover">
<div>
<p class="text-sm font-medium text-gray-900">Michael Chen</p>
<p class="text-xs text-gray-500">m.chen@gmail.com</p>
</div>
</div>
</td>
<td class="px-5 py-4 text-sm text-gray-700">DevOps Engineer</td>
<td class="px-5 py-4 text-sm text-gray-600">6 years</td>
<td class="px-5 py-4 text-sm text-gray-500">Mar 3, 2026</td>
<td class="px-5 py-4">
<div class="flex items-center gap-2">
<div class="w-16 h-2 bg-gray-200 rounded-full overflow-hidden">
<div class="h-full bg-amber-500 rounded-full" style="width: 76%"></div>
</div>
<span class="text-sm font-medium text-amber-600">76%</span>
</div>
</td>
<td class="px-5 py-4">
<span class="inline-flex items-center px-2.5 py-1 rounded-full text-xs font-medium bg-amber-100 text-amber-700">Test</span>
</td>
</tr>
<tr class="bg-gray-50">
<td class="px-5 py-4">
<div class="flex items-center gap-3">
<img src="https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=80&h=80&fit=crop&crop=faces" alt="Emma Thompson" class="w-10 h-10 rounded-full object-cover">
<div>
<p class="text-sm font-medium text-gray-900">Emma Thompson</p>
<p class="text-xs text-gray-500">emma.t@company.io</p>
</div>
</div>
</td>
<td class="px-5 py-4 text-sm text-gray-700">Backend Developer</td>
<td class="px-5 py-4 text-sm text-gray-600">4 years</td>
<td class="px-5 py-4 text-sm text-gray-500">Mar 5, 2026</td>
<td class="px-5 py-4">
<div class="flex items-center gap-2">
<div class="w-16 h-2 bg-gray-200 rounded-full overflow-hidden">
<div class="h-full bg-emerald-500 rounded-full" style="width: 91%"></div>
</div>
<span class="text-sm font-medium text-emerald-600">91%</span>
</div>
</td>
<td class="px-5 py-4">
<span class="inline-flex items-center px-2.5 py-1 rounded-full text-xs font-medium bg-emerald-100 text-emerald-700">Offer</span>
</td>
</tr>
<tr class="bg-white">
<td class="px-5 py-4">
<div class="flex items-center gap-3">
<img src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=80&h=80&fit=crop&crop=faces" alt="David Park" class="w-10 h-10 rounded-full object-cover">
<div>
<p class="text-sm font-medium text-gray-900">David Park</p>
<p class="text-xs text-gray-500">d.park@tech.dev</p>
</div>
</div>
</td>
<td class="px-5 py-4 text-sm text-gray-700">Data Scientist</td>
<td class="px-5 py-4 text-sm text-gray-600">3 years</td>
<td class="px-5 py-4 text-sm text-gray-500">Mar 7, 2026</td>
<td class="px-5 py-4">
<div class="flex items-center gap-2">
<div class="w-16 h-2 bg-gray-200 rounded-full overflow-hidden">
<div class="h-full bg-rose-500 rounded-full" style="width: 62%"></div>
</div>
<span class="text-sm font-medium text-rose-600">62%</span>
</div>
</td>
<td class="px-5 py-4">
<span class="inline-flex items-center px-2.5 py-1 rounded-full text-xs font-medium bg-gray-100 text-gray-600">Screened</span>
</td>
</tr>
<tr class="bg-gray-50">
<td class="px-5 py-4">
<div class="flex items-center gap-3">
<img src="https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=80&h=80&fit=crop&crop=faces" alt="Olivia Brown" class="w-10 h-10 rounded-full object-cover">
<div>
<p class="text-sm font-medium text-gray-900">Olivia Brown</p>
<p class="text-xs text-gray-500">olivia.brown@mail.com</p>
</div>
</div>
</td>
<td class="px-5 py-4 text-sm text-gray-700">UX Researcher</td>
<td class="px-5 py-4 text-sm text-gray-600">7 years</td>
<td class="px-5 py-4 text-sm text-gray-500">Mar 8, 2026</td>
<td class="px-5 py-4">
<div class="flex items-center gap-2">
<div class="w-16 h-2 bg-gray-200 rounded-full overflow-hidden">
<div class="h-full bg-blue-500 rounded-full" style="width: 85%"></div>
</div>
<span class="text-sm font-medium text-blue-600">85%</span>
</div>
</td>
<td class="px-5 py-4">
<span class="inline-flex items-center px-2.5 py-1 rounded-full text-xs font-medium bg-blue-100 text-blue-700">Reviewing</span>
</td>
</tr>
</tbody>
</table>
</div> # Striped Table
Zebra-striped data table.
## Usage
```bash
npx devsnips add Tailwind/Components/Tables/striped-table
```
Copy from `code.html`.
## File Structure
`code.html` · `preview.html` · `metadata.json` · `README.md` 166 lines UTF-8 · LF · Spaces: 2
Continue browsing