X Enterprises
Home Page

HomePageStats

Inline stat bar showing restaurant count, review count, and average rating.

HomePage

These components compose the restaurant directory's landing page.

Components

<XRDHomePageStats />

Inline stat bar rendered inside the Hero component. Formats large numbers (1K, 1M) and displays restaurant count, review count, and average rating.

<XRDHomePageStats :stats="domainInfo.stats" />

Props

PropTypeDefaultDescription
statsobject{}Object with restaurantCount, totalReviews, and averageRating fields

AI Context

category: HomePage
package: "@xenterprises/nuxt-x-restaurants"
components:
  - XRDHomePageStats
use-when: >
  Displaying an inline stat bar with restaurant count, review count, and
  average rating. Rendered automatically inside XRDHomePageHero.
typical-page-section: Embedded within the hero section below the search card.
Copyright © 2026