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-cardInstallation
1 · Add registry to components.json
2 · Install component
Examples
Default
Full card, minimal card, and loading skeleton.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
titlereq | string | — | Property name. |
propertyType | string | — | Property type label. |
location | string | — | Location label. |
imageUrl | string | — | Hero image URL. |
starRating | number | — | Star rating 1–5. |
guestRating | number | — | Guest review rating 0–10. |
reviewCount | number | — | Number of reviews. |
highlights | string[] | — | Up to 3 highlight bullets. |
pricePerNight | Money | — | Price per night. |
totalPrice | Money | — | Total price for the stay. |
nights | number | — | Number of nights. |
cancellationPolicy | string | — | Cancellation policy label. |
loading | boolean | false | Shows a loading skeleton. |
onSelect | () => void | — | Called when the CTA is clicked. |
ctaLabel | string | "View deal" | CTA button label. |