Skip to main content

Overview

The Stat interface represents a statistical metric or achievement displayed in the impact section of the home page. It provides a simple key-value structure for showcasing company metrics, achievements, or notable figures.

Type Definition

Source: types.ts:35-38

Properties

string
required
The numerical or text value to display prominently (e.g., “10+”, “500K+”, “24/7”).
string
required
Descriptive label explaining what the value represents (e.g., “Years of Experience”, “Happy Customers”).

Usage Example

From data/data.tsx, the home page impact section uses an array of Stat objects:
data/data.tsx

Rendering Stats

The Home page (pages/Home.tsx) renders stats in a grid layout:
pages/Home.tsx

Best Practices

Keep values concise and impactful. Use ”+” suffixes (“100+”) to indicate “or more” without exact numbers.
Labels should be short phrases (2-4 words) that clearly explain the metric without additional context.
  • FaqItem - FAQ question/answer pairs
  • Service - Product/solution data structure

Common Stat Examples