MeaChat
Docs / Stats

Stats

The Stats component displays a grid of key statistics, perfect for social proof or highlighting achievements.

Usage

import Stats from '~/components/sections/Stats.astro';
import StatItem from '~/components/ui/StatItem.astro';

<Stats title="Our Impact" description="We are making a difference.">
  <StatItem value="10k+" label="Users" />
  <StatItem value="5M+" label="Downloads" />
</Stats>

Example

0+
Active Businesses
User User User
+99
Broadcasts
Commerce
Shared Inbox
AI Tokens

Props

Stats

PropTypeDefaultDescription
titlestringundefinedOptional heading for the section.
descriptionstringundefinedOptional subtext for the section.

StatItem

PropTypeDefaultDescription
valuestringRequiredThe main statistic number or text.
labelstringRequiredThe label describing the statistic.