Section

Bento Stats — Gradient Mesh

Gradient Mesh stats layout: Bento stats grid.

  • Section
  • Tailwind
  • HTML
  • MIT

What it does

Capabilities

  • Bento stats grid
  • Large hero stat
  • Bar chart inset
  • 4 supporting tiles

Preview

Live section

Interactive preview
Open preview
9:41 100%
devsnips.site/library/tailwind/sections/stats/gradient-mesh/
fluid · no fixed width 100%
Dependencies: Tailwind CSS (CDN) · Google Fonts Responsive · Light/dark

Install

Add to your project

terminal
npx devsnips add Tailwind/Sections/Stats/gradient-mesh
registry path: Tailwind/Sections/Stats/gradient-mesh

Source

Implementation

code.html
<!--
Snippet Name: Bento Stats — Gradient Mesh
Description: Gradient Mesh stats layout: Bento stats grid.
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:'Outfit',sans-serif}.f-mono{font-family:'Outfit',sans-serif}.f-disp{font-family:'Outfit',sans-serif}
      .gm-bg{background:linear-gradient(120deg,#7c3aed,#ec4899,#f97316,#06b6d4);background-size:300% 300%;animation:gm 16s ease infinite}
      @keyframes gm{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}
</style>
<section class="relative w-full py-20 sm:py-28 text-white" data-section="gradient-mesh">
<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 bg-white/20 border border-white/30 px-3 py-1 text-[11px] font-semibold uppercase tracking-wide text-white"><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/70">Real performance, measured every single day.</p></div><div class="grid grid-cols-2 gap-4 lg:grid-cols-4"><div class="lg:col-span-2 lg:row-span-2 bg-white/15 backdrop-blur-xl border border-white/20 rounded-3xl transition-transform duration-300 hover:-translate-y-1 hover:bg-white/20 p-8 flex flex-col justify-between min-h-[260px]"><div><span class="inline-flex items-center gap-1.5 rounded-full bg-white/20 border border-white/30 px-3 py-1 text-[11px] font-semibold uppercase tracking-wide text-white"><svg class="h-3.5 w-3.5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><rect width="20" height="14" x="2" y="5" rx="2"/><path d="M2 10h20"/></svg> Feature</span><p class="mt-4 f-disp text-5xl font-bold">$4.2M</p><p class="mt-2 text-white/70">Annual recurring revenue, up 18% YoY.</p></div><div class="flex items-end gap-1.5 h-20"><div class="flex-1 rounded-t bg-white/10 backdrop-blur-md border border-white/15 rounded-2xl" style="height:30%"></div><div class="flex-1 rounded-t bg-white/10 backdrop-blur-md border border-white/15 rounded-2xl" style="height:50%"></div><div class="flex-1 rounded-t bg-white/10 backdrop-blur-md border border-white/15 rounded-2xl" style="height:45%"></div><div class="flex-1 rounded-t bg-white/10 backdrop-blur-md border border-white/15 rounded-2xl" style="height:70%"></div><div class="flex-1 rounded-t bg-white/10 backdrop-blur-md border border-white/15 rounded-2xl" style="height:60%"></div><div class="flex-1 rounded-t bg-white/10 backdrop-blur-md border border-white/15 rounded-2xl" style="height:85%"></div><div class="flex-1 rounded-t bg-white/10 backdrop-blur-md border border-white/15 rounded-2xl" style="height:75%"></div></div></div><div class="bg-white/15 backdrop-blur-xl border border-white/20 rounded-3xl transition-transform duration-300 hover:-translate-y-1 hover:bg-white/20 p-6"><p class="f-disp text-2xl font-bold">128k</p><p class="mt-1 text-sm text-white/70">Users</p></div><div class="bg-white/15 backdrop-blur-xl border border-white/20 rounded-3xl transition-transform duration-300 hover:-translate-y-1 hover:bg-white/20 p-6"><p class="f-disp text-2xl font-bold">99.9%</p><p class="mt-1 text-sm text-white/70">Uptime</p></div><div class="bg-white/15 backdrop-blur-xl border border-white/20 rounded-3xl transition-transform duration-300 hover:-translate-y-1 hover:bg-white/20 p-6"><p class="f-disp text-2xl font-bold">42</p><p class="mt-1 text-sm text-white/70">Countries</p></div><div class="bg-white/15 backdrop-blur-xl border border-white/20 rounded-3xl transition-transform duration-300 hover:-translate-y-1 hover:bg-white/20 p-6"><p class="f-disp text-2xl font-bold">1m 42s</p><p class="mt-1 text-sm text-white/70">Reply time</p></div></div>
</div>
</section>
18 lines UTF-8 · LF · Spaces: 2
DevSnips AI ready Claude · Cursor · Windsurf

Agent skill & Model Context Protocol

Pass this section straight into your AI workflow. DevSnips exposes each resource as a structured, addressable registry entry, so your agent installs the real files instead of approximating them.

devsnips://sections/stats/gradient-mesh
Prompt instruction
I want to use this DevSnips resource in production:

Page:
https://devsnips.site/library/tailwind/sections/stats/gradient-mesh/

Install: npx devsnips add
Tailwind/Sections/Stats/gradient-mesh

This is the Bento Stats — Gradient Mesh — Gradient Mesh stats layout: Bento stats grid.

Use this DevSnips resource as the starting point for my project.
Adapt it to my project's stack and conventions, fix any issues,
and make it production-ready while preserving its intended design
and behavior.

Paste into ChatGPT, Claude or your agent — it already carries the page URL and the exact install path.

Resource URI
devsnips://sections/stats/gradient-mesh