Section

Dashboard Stats — Editorial

Editorial stats layout: Dashboard stat panel.

  • Section
  • Tailwind
  • HTML
  • MIT

Preview

Live section

Interactive preview
Open preview
9:41 100%
devsnips.dev/library/tailwind/sections/stats/editorial/
fluid · no fixed width 100%
Dependencies: Tailwind CSS (CDN) · Google Fonts Responsive

Install

Add to your project

terminal
npx devsnips add Tailwind/Sections/Stats/editorial
registry path: Tailwind/Sections/Stats/editorial

Source

Implementation

code.html
<!--
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>
16 lines UTF-8 · LF · Spaces: 2

AI-ready

Available to your agent.

This section is reachable through the DevSnips CLI, MCP server and Skills integrations — one registry, one resource path.

Resource path

devsnips://sections/stats/editorial

Continue browsing

View all