← catalogo / sections/stats-sections
TW-SE-SS-01
Tailwind Plus
tailwind/marketing/sections/stats-sections/01-simple
html: questa e' vue, sotto c'e' il sorgente.
<template>
<div class="bg-white py-24 sm:py-32 dark:bg-gray-900">
<div class="mx-auto max-w-7xl px-6 lg:px-8">
<dl class="grid grid-cols-1 gap-x-8 gap-y-16 text-center lg:grid-cols-3">
<div v-for="stat in stats" :key="stat.id" class="mx-auto flex max-w-xs flex-col gap-y-4">
<dt class="text-base/7 text-gray-600 dark:text-gray-400">{{ stat.name }}</dt>
<dd class="order-first text-3xl font-semibold tracking-tight text-gray-900 sm:text-5xl dark:text-white">{{ stat.value }}</dd>
</div>
</dl>
</div>
</div>
</template>
<script setup>
const stats = [
{ id: 1, name: 'Transactions every 24 hours', value: '44 million' },
{ id: 2, name: 'Assets under holding', value: '$119 trillion' },
{ id: 3, name: 'New users annually', value: '46,000' },
]
</script>