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