X Enterprises
nuxt-x-affiliate

Listing Detail

Full page body for one directory entry — header, description, screenshots, features, and a sticky sidebar.

Listing Detail

The page body for one directory entry: header with logo, rating and tags; description; screenshot gallery; feature checklist; and a sticky sidebar with the outbound CTA.

Components

<XAFListingDetail />

<XAFListingDetail :listing="listing">
  <template #after-description>
    <XAFProsCons :pros="listing.pros" :cons="listing.cons" />
  </template>
</XAFListingDetail>

Props

PropTypeDefaultDescription
listingDetailListingrequiredThe entry. Extends DirectoryListing with website, screenshots, features
showScreenshotsbooleantrueRender the screenshot gallery
showSidebarbooleantrueRender the sticky sidebar
showReviewsbooleanfalseRender the reviews slot

Slots

SlotDescription
after-descriptionExtra content below the description — pros/cons, verdict, specs
sidebarReplace the default sidebar card
reviewsReviews section, rendered when showReviews is true

Tips

  • When listing.badge is Sponsored, the outbound link is marked rel="noopener noreferrer nofollow sponsored" — both an FTC expectation and Google's stated requirement for paid links. Any other listing gets rel="noopener noreferrer".
  • Screenshots accept either a bare URL string or { src, alt }. A missing alt falls back to "<name> screenshot N" rather than an empty string.

AI Context

component: XAFListingDetail
package: "@xenterprises/nuxt-x-affiliate"
use-when: Detail page body for a single directory listing
Copyright © 2026