Property Card

Result card for an accommodation / stay property. Horizontal layout with image, star rating, guest score, highlights, cancellation policy, nightly rate, stay total, and CTA. Includes a loading skeleton.

core/property-card

Installation

1 · Add registry to components.json

2 · Install component

Examples

Default

Full card, minimal card, and loading skeleton.

API Reference

PropTypeDescription
titlereq
stringProperty name.
propertyType
stringProperty type label.
location
stringLocation label.
imageUrl
stringHero image URL.
starRating
numberStar rating 1–5.
guestRating
numberGuest review rating 0–10.
reviewCount
numberNumber of reviews.
highlights
string[]Up to 3 highlight bullets.
pricePerNight
MoneyPrice per night.
totalPrice
MoneyTotal price for the stay.
nights
numberNumber of nights.
cancellationPolicy
stringCancellation policy label.
loading
booleanShows a loading skeleton.
onSelect
() => voidCalled when the CTA is clicked.
ctaLabel
stringCTA button label.