Section
Comparison Stats — Vercel / Linear
Vercel / Linear stats layout: Year-over-year comparison.
- Section
- Tailwind
- HTML
- MIT
Preview
Live section
9:41 100%
devsnips.dev/library/tailwind/sections/stats/vercel/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Sections/Stats/vercel Tailwind/Sections/Stats/vercel <!--
Snippet Name: Comparison Stats — Vercel / Linear
Description: Vercel / Linear stats layout: Year-over-year comparison.
Author: DevSnips Contributors
Usage Example: Drop this snippet into any Tailwind CSS page.
-->
<style>
/* DevSnips style-helper classes (self-contained snippet) */
.f-sans{font-family:'Geist',sans-serif}.f-mono{font-family:'Geist Mono',monospace}.f-disp{font-family:'Geist',sans-serif}
.vc-grid{background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:44px 44px;mask-image:radial-gradient(80% 60% at 50% 0%,#000 40%,transparent 100%)}
.vc-dot{display:inline-block;height:6px;width:6px;border-radius:9999px;background:#50e3c2;box-shadow:0 0 8px #50e3c2}
.vc-panel{box-shadow:0 0 0 1px rgba(255,255,255,.02),0 20px 60px -20px rgba(0,0,0,.9)}
</style>
<section class="relative w-full py-20 sm:py-28 text-white" data-section="vercel">
<div class="mx-auto max-w-7xl px-5 sm:px-6 lg:px-8">
<div class="mb-10 text-center mx-auto"><p class="mb-4"><span class="inline-flex items-center gap-1.5 rounded-full border border-white/10 bg-white/[0.04] px-3 py-1 f-mono text-[11px] text-white/60"><svg class="h-3.5 w-3.5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M22 7 13.5 15.5 8.5 10.5 2 17"/><path d="M16 7h6v6"/></svg> Stats</span></p><h2 class="f-disp text-3xl sm:text-4xl lg:text-5xl font-bold tracking-tight text-center mx-auto">Numbers that matter</h2><p class="mt-4 max-w-2xl text-center mx-auto text-base sm:text-lg leading-relaxed text-white/50">Real performance, measured every single day.</p></div><div class="grid grid-cols-2 gap-5"><div class="bg-[#0a0a0a] border border-white/10 rounded-[14px] vc-panel p-6 text-center"><p class="text-xs text-white/50 uppercase tracking-wider">Last year</p><p class="mt-2 f-disp text-3xl font-bold">$3.6M</p><div class="mt-3 flex items-end gap-1 h-16 justify-center"><div class="w-3 rounded-t bg-white/[0.03] border border-white/10 rounded-lg" style="height:40%"></div><div class="w-3 rounded-t bg-white/[0.03] border border-white/10 rounded-lg" style="height:60%"></div><div class="w-3 rounded-t bg-white/[0.03] border border-white/10 rounded-lg" style="height:50%"></div><div class="w-3 rounded-t bg-white/[0.03] border border-white/10 rounded-lg" style="height:75%"></div></div></div><div class="bg-[#0a0a0a] border border-white/10 rounded-[14px] vc-panel p-6 text-center"><p class="text-xs text-white/50 uppercase tracking-wider">This year</p><p class="mt-2 f-disp text-3xl font-bold">$4.2M</p><div class="mt-3 flex items-end gap-1 h-16 justify-center"><div class="w-3 rounded-t bg-white/[0.03] border border-white/10 rounded-lg" style="height:40%"></div><div class="w-3 rounded-t bg-white/[0.03] border border-white/10 rounded-lg" style="height:60%"></div><div class="w-3 rounded-t bg-white/[0.03] border border-white/10 rounded-lg" style="height:50%"></div><div class="w-3 rounded-t bg-white/[0.03] border border-white/10 rounded-lg" style="height:75%"></div></div></div></div>
</div>
</section> # Comparison Stats — Vercel / Linear
> Vercel / Linear stats layout: Year-over-year comparison.

## Features
- year-over-year comparison
- two panels
- mini bar charts
- period labels
- responsive 2-col
## Responsive support
- Mobile-first layout
- Breakpoints: `sm` (640px), `md` (768px), `lg` (1024px)
- Stacks gracefully on small screens, expands on large viewports
## Browser support
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
## Usage
1. Copy the markup from `code.html` into your Tailwind CSS project.
2. Include the corresponding Google Fonts in your document `<head>` if the style requires them.
3. The snippet is self-contained and copy-paste ready — no build step or JavaScript required.
## Design language
**Vercel / Linear** — part of the DevSnips Tailwind Sections library. Every section is
original, accessible, and production-ready.
## Files
- `preview.html` — full standalone preview page (Tailwind CDN + fonts)
- `code.html` — copy-paste snippet only (no `<head>` / CDN)
- `metadata.json` — structured metadata
- `README.md` — this file 19 lines UTF-8 · LF · Spaces: 2
Continue browsing