Section

Circular Stats — Apple Inspired

Apple Inspired stats layout: Circular progress stats.

  • Section
  • Tailwind
  • HTML
  • MIT

Preview

Live section

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

Install

Add to your project

terminal
npx devsnips add Tailwind/Sections/Stats/apple-inspired
registry path: Tailwind/Sections/Stats/apple-inspired

Source

Implementation

code.html
<!--
Snippet Name: Circular Stats — Apple Inspired
Description: Apple Inspired stats layout: Circular progress stats.
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:'Inter',sans-serif}
</style>
<section class="relative w-full py-20 sm:py-28 text-[#1d1d1f]" data-section="apple-inspired">
<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-[#0071e3]/10 px-3 py-1 text-[11px] font-semibold uppercase tracking-wide text-[#0071e3]"><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-[#6e6e73]">Real performance, measured every single day.</p></div><div class="grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4"><div class="bg-white rounded-2xl shadow-[0_4px_24px_-8px_rgba(0,0,0,.12)] transition-transform duration-300 hover:-translate-y-1 hover:shadow-[0_12px_40px_-12px_rgba(0,0,0,.18)] p-6 text-center"><div class="relative mx-auto h-24 w-24"><svg viewBox="0 0 36 36" class="h-24 w-24 -rotate-90"><circle cx="18" cy="18" r="15.9155" fill="none" stroke="currentColor" stroke-opacity="0.15" stroke-width="3"/><circle cx="18" cy="18" r="15.9155" fill="none" stroke="#0071e3" stroke-width="3" stroke-linecap="round" stroke-dasharray="82 100"/></svg><div class="absolute inset-0 flex flex-col items-center justify-center"><p class="f-disp text-xl font-bold">82%</p></div></div><p class="mt-3 text-sm text-[#6e6e73]">Active users</p></div><div class="bg-white rounded-2xl shadow-[0_4px_24px_-8px_rgba(0,0,0,.12)] transition-transform duration-300 hover:-translate-y-1 hover:shadow-[0_12px_40px_-12px_rgba(0,0,0,.18)] p-6 text-center"><div class="relative mx-auto h-24 w-24"><svg viewBox="0 0 36 36" class="h-24 w-24 -rotate-90"><circle cx="18" cy="18" r="15.9155" fill="none" stroke="currentColor" stroke-opacity="0.15" stroke-width="3"/><circle cx="18" cy="18" r="15.9155" fill="none" stroke="#0071e3" stroke-width="3" stroke-linecap="round" stroke-dasharray="99 100"/></svg><div class="absolute inset-0 flex flex-col items-center justify-center"><p class="f-disp text-xl font-bold">99%</p></div></div><p class="mt-3 text-sm text-[#6e6e73]">Uptime</p></div><div class="bg-white rounded-2xl shadow-[0_4px_24px_-8px_rgba(0,0,0,.12)] transition-transform duration-300 hover:-translate-y-1 hover:shadow-[0_12px_40px_-12px_rgba(0,0,0,.18)] p-6 text-center"><div class="relative mx-auto h-24 w-24"><svg viewBox="0 0 36 36" class="h-24 w-24 -rotate-90"><circle cx="18" cy="18" r="15.9155" fill="none" stroke="currentColor" stroke-opacity="0.15" stroke-width="3"/><circle cx="18" cy="18" r="15.9155" fill="none" stroke="#0071e3" stroke-width="3" stroke-linecap="round" stroke-dasharray="72 100"/></svg><div class="absolute inset-0 flex flex-col items-center justify-center"><p class="f-disp text-xl font-bold">72</p></div></div><p class="mt-3 text-sm text-[#6e6e73]">NPS</p></div><div class="bg-white rounded-2xl shadow-[0_4px_24px_-8px_rgba(0,0,0,.12)] transition-transform duration-300 hover:-translate-y-1 hover:shadow-[0_12px_40px_-12px_rgba(0,0,0,.18)] p-6 text-center"><div class="relative mx-auto h-24 w-24"><svg viewBox="0 0 36 36" class="h-24 w-24 -rotate-90"><circle cx="18" cy="18" r="15.9155" fill="none" stroke="currentColor" stroke-opacity="0.15" stroke-width="3"/><circle cx="18" cy="18" r="15.9155" fill="none" stroke="#0071e3" stroke-width="3" stroke-linecap="round" stroke-dasharray="94 100"/></svg><div class="absolute inset-0 flex flex-col items-center justify-center"><p class="f-disp text-xl font-bold">94%</p></div></div><p class="mt-3 text-sm text-[#6e6e73]">Retention</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/apple-inspired

Continue browsing

View all