Section
Bento Stats — Gradient Mesh
Gradient Mesh stats layout: Bento stats grid.
- Section
- Tailwind
- HTML
- MIT
Preview
Live section
9:41 100%
devsnips.dev/library/tailwind/sections/stats/gradient-mesh/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Sections/Stats/gradient-mesh Tailwind/Sections/Stats/gradient-mesh <!--
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> # Bento Stats — Gradient Mesh
> Gradient Mesh stats layout: Bento stats grid.

## Features
- bento stats grid
- large hero stat
- bar chart inset
- 4 supporting tiles
- responsive 2/4-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
**Gradient Mesh** — 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 18 lines UTF-8 · LF · Spaces: 2
Continue browsing