Section
Dashboard Stats — Editorial
Editorial stats layout: Dashboard stat panel.
- Section
- Tailwind
- HTML
- MIT
Preview
Live section
9:41 100%
devsnips.dev/library/tailwind/sections/stats/editorial/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Sections/Stats/editorial Tailwind/Sections/Stats/editorial <!--
Snippet Name: Dashboard Stats — Editorial
Description: Editorial stats layout: Dashboard stat panel.
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:'Inter',sans-serif}.f-mono{font-family:'Inter',sans-serif}.f-disp{font-family:'Fraunces',serif}
</style>
<section class="relative w-full py-20 sm:py-28 text-[#1c1917]" data-section="editorial">
<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-sm border border-[#1c1917]/15 px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[#78716c]"><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-[#78716c]">Real performance, measured every single day.</p></div><div class="bg-[#fffdf8] border border-[#1c1917]/10 rounded-sm p-6 mb-5"><div class="flex items-center justify-between"><div><p class="text-sm text-[#78716c]">Total revenue</p><p class="f-disp text-3xl font-bold mt-1">$4,247,820</p></div><span class="inline-flex items-center gap-1.5 rounded-sm border border-[#1c1917]/15 px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[#78716c]"><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> +18.4%</span></div><div class="mt-4 flex items-end gap-1.5 h-24"><div class="flex-1 rounded-t bg-[#f7f3ec] border border-[#1c1917]/10 rounded-sm" style="height:40%"></div><div class="flex-1 rounded-t bg-[#f7f3ec] border border-[#1c1917]/10 rounded-sm" style="height:55%"></div><div class="flex-1 rounded-t bg-[#f7f3ec] border border-[#1c1917]/10 rounded-sm" style="height:48%"></div><div class="flex-1 rounded-t bg-[#f7f3ec] border border-[#1c1917]/10 rounded-sm" style="height:70%"></div><div class="flex-1 rounded-t bg-[#f7f3ec] border border-[#1c1917]/10 rounded-sm" style="height:65%"></div><div class="flex-1 rounded-t bg-[#f7f3ec] border border-[#1c1917]/10 rounded-sm" style="height:90%"></div></div><div class="mt-2 flex justify-between text-xs text-[#78716c]"><span>Jan</span><span>Feb</span><span>Mar</span><span>Apr</span><span>May</span><span>Jun</span></div></div><div class="grid grid-cols-1 gap-5 sm:grid-cols-3"><div class="bg-[#fffdf8] border border-[#1c1917]/10 rounded-sm transition-colors hover:border-[#1c1917]/25 p-6"><div class="flex items-center justify-between"><span class="flex h-10 w-10 items-center justify-center bg-[#f7f3ec] border border-[#1c1917]/10 rounded-sm"><svg class="h-5 w-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M3 14v-3a9 9 0 0 1 18 0v3"/><path d="M21 16a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 16a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z"/></svg></span><span class="f-mono text-xs text-[#78716c]">+8</span></div><p class="mt-4 f-disp text-3xl sm:text-4xl font-bold">12,840</p><p class="mt-1 text-sm text-[#78716c]">Tickets</p></div><div class="bg-[#fffdf8] border border-[#1c1917]/10 rounded-sm transition-colors hover:border-[#1c1917]/25 p-6"><div class="flex items-center justify-between"><span class="flex h-10 w-10 items-center justify-center bg-[#f7f3ec] border border-[#1c1917]/10 rounded-sm"><svg class="h-5 w-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8z"/></svg></span><span class="f-mono text-xs text-[#78716c]">+2</span></div><p class="mt-4 f-disp text-3xl sm:text-4xl font-bold">98%</p><p class="mt-1 text-sm text-[#78716c]">CSAT</p></div><div class="bg-[#fffdf8] border border-[#1c1917]/10 rounded-sm transition-colors hover:border-[#1c1917]/25 p-6"><div class="flex items-center justify-between"><span class="flex h-10 w-10 items-center justify-center bg-[#f7f3ec] border border-[#1c1917]/10 rounded-sm"><svg class="h-5 w-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><circle cx="12" cy="12" r="10"/><path d="M12 6v6l4 2"/></svg></span><span class="f-mono text-xs text-[#78716c]">+15</span></div><p class="mt-4 f-disp text-3xl sm:text-4xl font-bold">3.2h</p><p class="mt-1 text-sm text-[#78716c]">Avg resolve</p></div></div>
</div>
</section> # Dashboard Stats — Editorial
> Editorial stats layout: Dashboard stat panel.

## Features
- dashboard stat panel
- bar chart placeholder
- month axis
- 3 KPI tiles
- responsive
## 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
**Editorial** — 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 16 lines UTF-8 · LF · Spaces: 2
Continue browsing