Property Listing Card
A property browse card displaying the hostel image, name, location, star rating, amenity badges, and starting price.
Preview
4.5
Zostel Manali
Old Manali, Himachal Pradesh
WiFi
Cafe
Bonfire
Treks
From ₹499/night
4.3
Zostel Goa
Anjuna, North Goa
WiFi
Pool
Beach
Bar
From ₹599/night
Usage
tsx
import { PropertyListingCard } from "zostel-ui";
<PropertyListingCard
name="Zostel Manali"
location="Manali, Himachal Pradesh"
image="/images/manali.jpg"
rating={4.5}
reviewCount={234}
amenities={["WiFi", "Cafe", "Parking"]}
price={499}
currency="INR"
badge="Bestseller"
/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
name | string | — | Property name |
location | string | — | Location text (city, state) |
image | string | — | Cover image URL |
rating | number | — | Star rating (e.g. 4.5) |
reviewCount | number | — | Number of reviews |
amenities | string[] | — | Array of amenity labels |
price | number | — | Starting price per night |
currency | string | "INR" | Currency code |
badge | string | — | Optional badge label (e.g. Bestseller) |
onWishlist | () => void | — | Callback when wishlist button is clicked |
nameType:
stringDefault: —
Property name
locationType:
stringDefault: —
Location text (city, state)
imageType:
stringDefault: —
Cover image URL
ratingType:
numberDefault: —
Star rating (e.g. 4.5)
reviewCountType:
numberDefault: —
Number of reviews
amenitiesType:
string[]Default: —
Array of amenity labels
priceType:
numberDefault: —
Starting price per night
currencyType:
stringDefault: "INR"
Currency code
badgeType:
stringDefault: —
Optional badge label (e.g. Bestseller)
onWishlistType:
() => voidDefault: —
Callback when wishlist button is clicked