Introduction
Yonda component library
shadcn-style atoms. We own the source — no opaque dependency. Use the brand switcher above to preview themed atoms under each of the 8 brands — this app has no middleware or host routing of its own, so the switcher applies a brand's CSS vars directly instead.
Components
Button
Clickable atom. Three variants, three sizes.
Card
Bordered container atom.
Input
Single-line text field with focus and disabled states.
Label
Form-field label paired with Input/Textarea.
Textarea
Multi-line text field for special requests and notes.
Badge
Status pill — Sale, Sold out, Eco-certified.
Avatar
Round image with initials fallback on load error.
Skeleton
Loading placeholder for result cards and detail panes.
Spinner
Inline loading indicator. Sized to text, drawn in currentColor.
BrandedButton
Brand-themed primary button. All 8 themes preview here.
NavBar
Brand-aware sticky header with mobile drawer and composable slots.
Footer
Brand-aware full footer with trust strip, link columns, payment icons, and legal row.
PropertyCard
Result-grid card with hero image, pricing, wishlist toggle, and insider overlay.
Modal
Accessible dialog built on Radix Dialog. Trigger, header, footer slots; three sizes; ESC-to-close.
Select & Popover
Floating menus that open from their trigger side with the shared motion tokens.
ImageLightbox
Full-screen image viewer with prev/next, thumbnail strip, keyboard nav, and touch swipe.
CruiseCard
Cruise result tile with hero image, itinerary, nights, pricing, and wishlist toggle.
DestinationCard
Image tile for trending destination strips, with hover zoom and optional from-price.
LoginForm
Phone + password sign-in form with register and forgot-password variants. Brand-token themed.
GuestRoomSelector
Room, adults, and children picker with per-child age inputs and keyboard support.
LocationAutocomplete
Destination typeahead with debounce, keyboard nav, highlighted match, and recent/popular sections.
HotelSearchBar
Canonical hotel search bar composing LocationAutocomplete, DateRangePicker, and GuestRoomSelector. Presentational, validated, brand-token themed.
Tabs
Accessible tab switcher with pill and underline variants. Backs the search-page vertical strip and detail-page section switcher.
TourSearchBar
Canonical tour search bar composing LocationAutocomplete, DateRangePicker, and traveller count. Presentational, validated, brand-token themed.
CruiseSearchBar
Canonical cruise search bar with departure + destination autocomplete, sail date range, and cabin selector. Presentational, validated, brand-token themed.
CurrencySelector
Flag + currency code dropdown for the NavBar currencySlot. Ships with 8-currency default; custom lists supported.
StarRating
Read-only fractional star display + interactive review-submission variant. Keyboard navigable.
ReviewCard
Guest review tile for property detail pages. Composes Avatar + StarRating + Card. Optional title, verified badge, host response.
PriceBreakdown
Line-item price summary with total. Currency-aware, supports discount and muted line variants.
RoomTypeCard
Bookable room configuration tile — image + capacity + beds + amenities + meal plan + refundable + price + Reserve CTA.
ActivityCard
Experience and tour result tile — image, category chip, duration, star rating, instant-confirmation badge, pricing, and Book now CTA.
InclusionsList
Checklist of what's included and excluded in an activity or package. Green checkmarks and red X marks, with optional item descriptions.
TimeSlotPicker
Button grid for selecting a departure or pickup time. Available, limited (amber dot), and sold-out states. Keyboard navigable with roving tabIndex.
CancellationPolicyBadge
Trust-signal badge with three color-coded tiers and an accessible Popover showing the refund schedule. Ships with a co-located deriveCancellationTier helper.
MeetingPointCard
Where-to-meet card for detail pages — location, static map, pickup window, notes, driver contact, and a Google Maps directions link. Cross-vertical.
BookingCard
Sticky sidebar booking widget for activity, tour, and experience detail pages (Klook / GetYourGuide pattern). Composes date pickers + participant stepper + PriceBreakdown + CTA.
AvailabilityStatusBadge
Scarcity / urgency badge for cards and rows. Four canonical statuses (selling fast, limited, sold out, recently booked) with a locale-neutral default label formatter.
ActivityHighlightsList
'What to expect' icon + text list for activity, tour, and cruise detail pages. Built-in named-icon set with an iconSlot escape hatch. Stacked or 2-column grid layout.
CabinCard
Bookable cabin tile for cruise detail pages — view type badge, deck, capacity, berths, amenities, package inclusions, price + Reserve CTA. Cruise counterpart to RoomTypeCard.
ItineraryTimeline
Vertical timeline for multi-day tour and cruise itineraries. Day + name + arrive/depart times + description + highlights + optional image per stop. Four stop types (start / port / at-sea / end).
FaqAccordion
Collapsible Q&A list built on Radix Accordion. Multi mode by default (Booking.com pattern), single-mode strict accordion supported. Rich ReactNode answers for links / lists / formatted content.
Carousel
Scroll-snap carousel with keyboard nav, drag/swipe, prev/next controls, and optional dot pagination.
ExperiencesGrid
Country-scoped deals section — centered heading with a clickable location chip (fires onLocationClick for a country picker modal) and a children slot for whatever card grid or carousel the parent renders.
ArticleCard
Blog and travel-inspiration tile with hero image, category chip, title, excerpt, and author/date/read-time meta row. Whole-card link when href provided.
MemberAccountSidebar
Member dashboard nav shell — avatar + name + membership badge + optional balance slot + icon-prefixed menu items with active-state highlight. Presentational only.
ArticleSearchBar
Blog / article listing search — text input + Destinations and Topics filter chips. Parent-controlled active-filter labels and popover triggers.
Pagination
Page navigation with numbered pages, ellipses, prev/next, optional 'showing X–Y of Z' summary. Compact variant for tight surfaces.
Alert
Persistent inline banner for page-top status (booking pending, promo active, error boundaries). Five semantic variants, per-variant default icon, optional dismiss + actions.
SocialProofToast
Bottom-left slide-in notification for recent-bookings social proof. Presentational — parent controls open state and queueing; auto-hide is configurable.
CountdownTimer
Days:hours:minutes(:seconds) ticker for giveaway and promo deadlines. Row and stacked layouts, expired state with custom label, onExpire callback.
NextEscapeStrip
Category feature strip for homepages — heading + subheading beside a scrollable row of image tiles with title, blurb, and 'View offers →' link. Composes Carousel.
CountryPickerModal
Full country picker modal for country-scoped surfaces (ExperiencesGrid, NavBar location trigger, etc.). Search-filterable, popular + all-countries sections, portalled via Modal.
Toast
Feedback notification for form submissions and async actions. Five variants (default / success / destructive / info / warning), swipe-to-dismiss, action slot. Built on Radix Toast.
EmptyState
Reusable no-results / empty-wishlist / no-bookings shell — icon + heading + description + optional primary and secondary CTAs. Ships 5 named preset icons plus a custom-icon escape hatch. Compact variant for inline use.
SortBar
Result-list sort control — dropdown (Popover-backed listbox) or inline chip radio group. Optional result-count summary on the left; icon per option. Pairs with Pagination on every search-results page.
FilterSidebar
Multi-facet filter panel for search results — checkbox groups (amenities), range slider (price), star-rating selector, chip-group (property type). Collapsible sections, applied-count badges, optional Clear-all. Booking.com pattern.
MapView
Split-view map with price-pill markers for each property. Airbnb / Booking.com search-results pattern. Leaflet + OSM tiles under the hood; SSR-safe with a client-only mount.
PriceCalendar
Month-grid calendar where each day cell shows the cheapest available price. Sold-out days disabled, cheapest day highlighted. Single-date or date-range modes. Composes the shipped Calendar primitive.
PromoTab
Bottom-right floating campaign pill with pulsing indicator. Click opens a Modal with hero + CountdownTimer + subscribe CTA. Dismissable with localStorage-persisted session state; auto-hides when deadline passes.
Stepper
Multi-step progress indicator for checkout / onboarding flows. Horizontal and vertical orientations, click-back navigation on completed steps, optional per-step description.
Breadcrumb
Trail-of-links navigation for property, tour, and cruise detail pages. Last item is the current page (aria-current). Optional home-icon prefix and maxItems truncation with '…' collapse for deep hierarchies.