YYonda UI Docs

CabinCard

Bookable cabin configuration tile for cruise detail pages. Image + name + view-type badge (interior / oceanview / balcony / suite) + capacity + berths + deck + amenities + package inclusions + refundable + price + Reserve CTA. The cruise-vertical counterpart to RoomTypeCard, following the Booking.com pattern of listing inventory as rows on the detail page.

Minimal

Smallest valid cabin — name, capacity, berths, view type, price, CTA.

Interior Stateroom

Interior
  • 2 adults
  • 1 Queen bed
$1,299per cabin

Full-featured

All features: image, description, deck, size, amenities, package inclusions, refundable flag, strikethrough price, and nights.

Balcony Stateroom

Balcony Stateroom

Balcony

Private verandah with panoramic ocean views

  • 2 adults
  • 1 Queen bed
  • Deck 12
  • 22 m²
Drinks package$200 onboard credit✓ Free cancellation
Private balconySea viewMini barRain shower+1 more
$2,499$2,199per cabin12 nights

Oceanview — family, non-refundable

Family cabin with picture window and non-refundable flag.

Oceanview Stateroom

Oceanview Stateroom

Oceanview
  • 2 adults, 2 children
  • 1 Queen bed + 2 Sofa beds
  • Deck 7
  • 17 m²
Non-refundable
Picture windowInterconnecting available
$1,799per cabin12 nights

Suite — premium tier

Premium cabin with multiple package inclusions. viewType="suite" renders the badge in the primary variant (visually distinct from the secondary variants used for balcony and oceanview).

Owner's Suite

Owner's Suite

Suite

Two-room suite with dining area and private butler service

  • 4 adults
  • 1 King bed + 1 Sofa bed
  • Deck 14
  • 78 m²
All-inclusive drinksSpecialty dining$500 onboard creditComplimentary Wi-Fi✓ Free cancellation
Butler servicePriority boardingConcierge loungeWhirlpool tub+2 more
$8,299$7,499per cabin12 nights

Sold out

Sold-out overlay on the image; CTA disabled and labelled "Sold out".

Balcony Stateroom Aft
Sold out

Balcony Stateroom — Aft

Balcony
  • 2 adults
  • 1 Queen bed
  • Deck 10
  • 22 m²
Larger balconyAft views
$2,599per cabin

Grid of cabins (as on a cruise detail page)

Vertically stacked rows — the Booking.com pattern applied to cruise inventory: SearchBar at top of page, CabinCard rows here, per-row Reserve CTAs.

Interior Stateroom

Interior
  • 2 adults
  • 1 Queen bed
  • Deck 4
  • 14 m²
Non-refundable
$1,299per cabin12 nights

Oceanview Stateroom

Oceanview

Picture window with harbour views

  • 2 adults
  • 1 Queen bed
  • Deck 7
  • 17 m²
✓ Free cancellation
Picture window
$1,799per cabin12 nights

Balcony Stateroom

Balcony
  • 2 adults
  • 1 Queen bed
  • Deck 12
  • 22 m²
Drinks package✓ Free cancellation
Private balconySea view
$2,199per cabin12 nights

Owner's Suite

Suite
  • 4 adults
  • 1 King + 1 Sofa
  • Deck 14
  • 78 m²
All-inclusive drinksSpecialty dining✓ Free cancellation
Butler serviceConcierge
$7,499per cabin12 nights

Props reference

PropTypeRequiredDescription
brandKnownBrandIdyesDrives BrandedButton theming
namestringyesCabin type name
descriptionstringnoShort one-liner beneath the name
image{ url, alt }noHero image; falls back to a muted ship placeholder
capacity{ adults, children? }yesRenders as '2 adults, 1 child'
berthsstringyese.g. '1 Queen bed', '2 Twin beds convertible to Queen'
viewType'interior' | 'oceanview' | 'balcony' | 'suite'yesRenders as a Badge with variant tuned per view type
decknumbernoRenders as 'Deck N'
sizeSqmnumbernoCabin size in m²
amenitiesstring[]noFirst 4 shown as pills; overflow shows '+N more'
packageInclusionsstring[]noPackage perks rendered as secondary Badges
refundablebooleannotrue → 'Free cancellation' (green); false → 'Non-refundable' (muted)
pricePerCabinnumberyesTotal price for the cabin (cruises price per cabin, not per night)
strikethroughPricePerCabinnumbernoOriginal price shown above with strikethrough
currencystring (ISO 4217)yese.g. 'AUD'
localestring (BCP-47)no (default 'en-AU')Formatting locale
nightsnumbernoShows 'N nights' below the price
ctaLabelstringno (default 'Reserve')CTA button label
onReserve() => voidnoCTA click handler
disabledbooleannoDisables the CTA
soldOutbooleannoOverlays 'Sold out' on the image and disables the CTA
classNamestringnoExtra classes on the Card