Skip to content
SSkyTrip

Component library

Every live component, in one place

The production components used across the site β€” plus links to every page.

All pages

Every route on the site, including account and footer pages.

Book

Account

Company

Support

Legal

App shell

Global chrome already live on every page via layout.js.

SkipLink

components/ui/SkipLink.jsx

OfflineBanner

components/marketing/OfflineBanner.jsx

Renders a top banner when navigator.onLine is false.

Only appears when the browser is offline.

Onboarding

components/marketing/Onboarding.jsx

Shown once on first visit, then stored in localStorage.

First-visit modal. Already mounted in the root layout.

Header

components/layout/Header.jsx

Sticky nav with region, notifications, support, and sign in.

Already live at the top of this page.

Footer

components/layout/Footer.jsx

Book, company, support, account, and legal links.

Already live at the bottom of this page.

BottomNav

components/layout/BottomNav.jsx

Search, Trips, Alerts, You.

Fixed mobile bar β€” already live below md.

ContentPage β€” legal/content wrapper

components/layout/ContentPage.jsx

Example content page

Used by About, Help, Terms, and other footer pages.

Body content for policy and company pages sits here.

Page banners & heroes

Every top-of-page hero/banner used across the site.

Hero β€” home page

components/layout/Hero.jsx

Save up to 40% on fall escapes

Fly smarter with SkyTrip

Compare flights, stays and packages. Transparent prices, zero surprise fees.

Secure paymentsBest price promise24/7 support

From

New York (JFK)

To

London (LHR)

FlightsHero β€” flight results

components/flights/FlightsHero.jsx

JFKLHR

New York β†’ London

Depart

Return

Travelers

1 adult Β· Economy

From

New York (JFK)

To

London (LHR)

FlightDetailHero β€” flight offer page

components/flights/FlightDetailHero.jsx

JFKLHR

New York β†’ London

DLDelta Air Lines

Duration

7h 15m

Stops

Nonstop

Route

JFK β†’ LHR

Lowest fare

$639

HotelHero β€” hotel results

components/hotels/HotelHero.jsx

Compare available stays

Find your perfect stay

Boutique hotels, city apartments, luxury resorts and everything in between.

Choose a destinationΒ·Choose datesΒ·Choose guests

HotelDetailHero β€” hotel detail page

components/hotels/HotelDetailHero.jsx

Top rated5-star hotel

The Langham London

Marylebone, London

Rating

9.2

Reviews

2841

Board

Breakfast included

From

$248 / night

CarHero β€” car rental results

components/cars/CarHero.jsx

Compare available rentals

Rent a car, anywhere

Find a rental for your trip. Review supplier terms before booking.

Supplier cancellation termsΒ·Available rental suppliersΒ·Choose a pickup location

PackageHero β€” packages results

components/packages/PackageHero.jsx

Save up to 40% vs booking separately

Flights + hotels, bundled

Handpicked resorts and city stays with flights included β€” one price, one booking.

Flights includedΒ·4 & 5-star staysΒ·Breakfast most days

Where to?

Bali (DPS)

CheckoutHero β€” checkout page

components/checkout/CheckoutHero.jsx

Secure checkout
EncryptedΒ· Quote expiry not supplied
JFKLHR

Review & confirm

New York β†’ London

Depart

Sun, 12 Oct

Travelers

2 adults

Total

987

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

BandHero β€” generic content banner

components/layout/BandHero.jsx

Help centre

How can we help?

Search our guides or contact support.

24/7 supportΒ·12 languages

HeroBand β€” wrapper band

components/layout/HeroBand.jsx

Generic banded hero wrapper used behind marketing sections.

PageHeading β€” legal/content pages

components/layout/PageHeading.jsx

Terms of service

Last updated Jan 2026

FlightSearchSummaryBar β€” sticky search recap

components/flights/FlightSearchSummaryBar.jsx

Departure

JFK

Destination

LHR

Depart

Oct 12, 2026

Filters

Sidebar filters used on results pages.

FlightSidebar

components/filters/FlightSidebar.jsx

Filters

$0up to $2,000$1

HotelSidebar

components/filters/HotelSidebar.jsx

Filters

$0.00up to $1,000.00$1,000.00

SidebarSkeleton

components/filters/SidebarSkeleton.jsx

MobileFiltersSheet (trigger)

components/filters/MobileFiltersSheet.jsx

Filters

Filter contents go here.

FlightSummaryFilters β€” sort + date shift

components/flights/FlightSummaryFilters.jsx

Depart

Mon, Oct 12

Return

Tue, Oct 20

Sort by

HotelTopFilters

components/hotels/HotelTopFilters.jsx

12 properties found

Flight result cards

Cards + supporting pieces shown on the flight results list.

FlightCard β€” nonstop

components/cards/FlightCard.jsx

DL

Delta Air Lines

650 kg

08:20

JFK

7h 15m

Nonstop

20:35

LHR

from

$639

per traveler

5 providersSelect

FlightCard β€” with layover

components/cards/FlightCard.jsx

EI

Aer Lingus

790 kg

15:20

JFK

8h 45m

1 stop Β· DUB

08:05

LHR

from

$489

per traveler

8 providersSelect

SkeletonFlightCard

components/cards/SkeletonFlightCard.jsx

FlightBadges

components/flights/FlightBadges.jsx

Best Cheapest Fastest

Flight details page

Itinerary, fares, seats, baggage, and provider comparison components.

ItineraryTimeline

components/flights/ItineraryTimeline.jsx

Outbound Β· Oct 12

15:20

New York

JFK

6h 45m

DL

Airline

EI104 Β· Airbus A330

04:05

Dublin

DUB

1h 0mlayoverΒ· DUB

Terminal 2 Β· Through-checked bags Β· single ticket

05:05

Dublin

DUB

2h 0m

DL

Airline

EI154 Β· Airbus A320

08:05

London

LHR

SegmentDetailCard

components/flights/SegmentDetailCard.jsx

Outbound

Sun, 12 Oct

15:20

New York

JFK

6h 45m

EI

Airline

EI104 Β· Airbus A330

04:05

Dublin

DUB

1h 0mlayoverΒ· DUB

Terminal 2 Β· Through-checked bags Β· single ticket

05:05

Dublin

DUB

2h 0m

EI

Airline

EI154 Β· Airbus A320

08:05

London

LHR

FareSelector

components/flights/FareSelector.jsx

BaggageInfo

components/flights/BaggageInfo.jsx

Baggage allowance

Add bags now and skip the airport queue β€” prices stay the same until you fly.

Included

Personal item

Included

40 Γ— 30 Γ— 15 cm

Carry-on

Included

55 Γ— 40 Γ— 20 cm Β· 10 kg

SeatMap

components/flights/SeatMap.jsx

AvailableSelectedHoveredBooked

Front of aircraft

ABCDEF

Exit Β· extra legroom

1
2
3
4
5
6
7
8
9
10
11
12
13

Exit Β· extra legroom

14
15
16
17
18
19
20
21
22
23
24
25
26
27

Exit Β· extra legroom

28

Rear

No seats selectedβ€”

SeatMapModal (trigger)

components/flights/SeatMapModal.jsx

SelfTransferNotice

components/flights/SelfTransferNotice.jsx

FlightBookingBar

components/flights/FlightBookingBar.jsx

Select fare

Total per traveler

$754

Standard
  • Β· 1 carry-on + 1 checked bag (23kg)
  • Β· Standard seat
  • Β· Refundable within 24h
Continue to checkout

No hidden fees

MobileBookingBar

components/flights/MobileBookingBar.jsx

Renders as a fixed bottom bar on small screens β€” see it live on any /flights/[id] page.

Fixed to viewport bottom on mobile in the real page.

Provider comparison

ProviderLogo

components/flights/ProviderLogo.jsx

STEDGGEX

ProviderRating

components/flights/ProviderRating.jsx

4.9Β·6,231

ProviderCard

components/flights/ProviderCard.jsx

ST

SkyTrip

4.9Recommended

Direct booking

$639

Select

ProviderList

components/flights/ProviderList.jsx

ST

SkyTrip

Direct

Direct booking

Free cancellation Β· 24h

$639

Select
ED

eDreams

Prime member deals

Fee applies

$650

GG

Gotogate

Low-cost consolidator

No refunds

$655

EX

Expedia

Bundle & save

Free cancellation Β· 24h

$657

BU

BudgetAir

Budget fares

Fee applies

$661

Prices are live and may change before you complete your booking.

ProvidersSection

components/flights/ProvidersSection.jsx

Choose your booking option

Book directly with us for the full experience, or pick a partner.

ST

SkyTrip

Direct
Direct bookingFree cancellation Β· 24h

$639

per traveler

ED

eDreams

Prime member dealsFee applies

$650

per traveler

GG

Gotogate

Low-cost consolidatorNo refunds

$655

per traveler

EX

Expedia

Bundle & saveFree cancellation Β· 24h

$657

per traveler

BU

BudgetAir

Budget faresFee applies

$661

per traveler

ProviderDetailsDrawer (trigger)

components/flights/ProviderDetailsDrawer.jsx

PartnerRedirectModal (trigger)

components/flights/PartnerRedirectModal.jsx

Hotel cards

Hotel details page

Gallery, rooms, amenities and booking widget from the hotel detail page.

Gallery

components/hotels/Gallery.jsx

ImageCarousel

components/hotels/ImageCarousel.jsx

The Langham London

HotelFactsRow

components/hotels/HotelFactsRow.jsx

Rooms

3 types available

Guests

Up to 4 per room

Cancellation

Free within 24h

Check-in

15:00 Β· Out 11:00

HotelAbout

components/hotels/HotelAbout.jsx

About this stay

The Langham London Β· Marylebone, London

Why guests love it

  • Central location
  • Free cancellation
  • Highly rated breakfast

AmenityGrid

components/hotels/AmenityGrid.jsx

Amenities

Free Wi-FiPoolGymSpaBreakfast

RoomCard

components/hotels/RoomCard.jsx

Standard King

Free cancellation
1 King bed 28 mΒ² Sleeps 2
  • Free Wi-Fi
  • Breakfast included

per night

$248

RoomTable

components/hotels/RoomTable.jsx

Standard King

1 King bed 28 mΒ² Sleeps 2
  • Free Wi-Fi
  • Breakfast included

per night

$248

Reserve

Deluxe Twin

Popular
2 Twin beds 34 mΒ² Sleeps 3
  • Free Wi-Fi
  • Breakfast included
  • City view

per night

$303

Reserve

Executive Suite

1 King + sofa 52 mΒ² Sleeps 4
  • Lounge access
  • Breakfast included

per night

$459

Reserve

ReviewsSection

components/hotels/ReviewsSection.jsx

Guest reviews

9.22,841 verified reviews
AO

Amara O.

Β·Lagos Β· Oct 2026
2 weeks ago

Perfect location, walkable to everything

Ten minutes from the tube, five from a great coffee spot. The room was spotless and the bed was incredible. Would 100% stay again.

DK

Daniel K.

Β·Berlin Β· Oct 2026
3 weeks ago

Staff went above and beyond

Checked in late, and the front desk still helped with dinner reservations. Room was small but well designed.

PS

Priya S.

Β·Mumbai Β· Sep 2026
1 month ago

Excellent value for the area

Central location for a fraction of what other hotels nearby charge. Breakfast was fresh and generous.

MF

Marco F.

Β·Rome Β· Sep 2026
1 month ago

Very clean and quiet

Surprisingly quiet given how central it is. Bathroom was well appointed with good water pressure.

Page 1 of 2

BookingWidget

components/hotels/BookingWidget.jsx

from

$248 / night

9.2
$248 Γ— nights
$NaN
Taxes & fees
Included where supplied
Total
$NaN
Search updated stay

Review cancellation terms before payment

Car, package, destination & deal cards

DestinationCard

components/cards/DestinationCard.jsx

Paris

Paris

France

from $319

DealCard

components/cards/DealCard.jsx

Fall flight saleLimited

Fall flight sale

Up to 35% off transatlantic

ReviewCard

components/cards/ReviewCard.jsx

Booked flights and hotel in under 5 minutes. Prices were exactly what I saw upfront β€” no surprise fees at checkout.

A

Amara O.

Lagos β†’ London

The comparison view is clean and the filters actually work. Found a direct flight $180 cheaper than anywhere else.

D

Daniel K.

Berlin β†’ Tokyo

Support answered in 2 minutes when I needed to change a date. Refund hit my card in three days.

P

Priya S.

Mumbai β†’ Dubai

Checkout

Wizard steps from the multi-step checkout flow (rendered inside a shared WizardProvider).

Stepper

components/checkout/Stepper.jsx

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

PassengerCard

components/checkout/PassengerCard.jsx

Contact information

ReviewStep

components/checkout/ReviewStep.jsx

Review your flight

DL

Delta Air Lines

Nonstop

Boeing 787-9 Β· Economy Standard

Departs

Oct 12 Β· 08:20

JFK Β· Terminal 4

7h 15m

Arrives

Oct 12 Β· 20:35

LHR Β· Terminal 2

Fare

Standard

1 carry-on + 1 checked bag Β· Changes for a fee

$758

PassengersStep

components/checkout/PassengersStep.jsx

Passengers

1 traveler Β· names must match passport

Contact information

PassengerSeatsStep

components/checkout/PassengerSeatsStep.jsx

Choose seats per passenger

0 of 1 seat selected

Optional
1

Passenger 1

No seat selected

SeatsStep

components/checkout/SeatsStep.jsx

Pick your seats

Optional β€” you can skip and select at check-in.

AvailableSelectedHoveredBooked

Front of aircraft

ABCDEF

Exit Β· extra legroom

1
2
3
4
5
6
7
8
9
10
11
12
13

Exit Β· extra legroom

14
15
16
17
18
19
20
21
22
23
24
25
26
27

Exit Β· extra legroom

28

Rear

No seats selectedβ€”

AncillaryStep

components/checkout/AncillaryStep.jsx

Add-ons for your trip

Optional. You can add these later.

PaymentStep

components/checkout/PaymentStep.jsx

5

Payment

Secure Β· encrypted

Your payment details are encrypted end-to-end

DoneStep

components/checkout/DoneStep.jsx

You’re going to London

Confirmation SKY-4821-QP sent to your email.

JFK β†’ LHR

Confirmed

Oct 12, 2026 Β· 08:20 Β· Delta Air Lines

My Trips

SummarySidebar

components/checkout/SummarySidebar.jsx

Your trip

JFK LHR

Oct 12 Β· 08:20 Β· Delta

Nonstop
Fare
$642
Taxes & fees
$90
Total
$732
Encrypted & secure

Marketing sections

Homepage marketing blocks.

TrustStrip

components/marketing/TrustStrip.jsx

Free cancellation within 24hBest price guaranteePrices checked 2 min ago

DestinationGrid

components/marketing/DestinationGrid.jsx

RecentlyViewed

components/marketing/RecentlyViewed.jsx

Only renders once items exist in localStorage β€” visit a flight/hotel page first.

SaveToTrackPrices

components/marketing/SaveToTrackPrices.jsx

Header widgets

Small components mounted inside the global Header (not the full nav bar β€” that's already live at the top of this page).

ProfileMenu

components/layout/ProfileMenu.jsx

NotificationBell

components/layout/NotificationBell.jsx

RegionButton

components/layout/RegionButton.jsx

CountryCurrencyModal (trigger)

components/layout/CountryCurrencyModal.jsx

Auth

AuthShell β€” signin

components/auth/AuthShell.jsx

SSkyTrip

Sign-in form goes here.

Secure demo auth β€” no real OAuth. Social buttons simulate sign-in for the UI prototype.

UI primitives

Buttons
Badges
BrandSuccessWarningAccentNeutralDanger
Inputs
Tabs
Stars
Airline logos
DLBAWZU2
Tooltip
Hover me
Spinner
$639
Weather
Breadcrumbs
Smart image
The Langham London
Modal

Booking confirmed! Check your email.

Prices shown include taxes and fees.

Only 2 seats left at this price.

Loading & empty states

Skeleton

components/ui/Skeleton.jsx

SectionSkeleton

components/ui/SectionSkeleton.jsx

ListSkeleton

components/ui/ListSkeleton.jsx

LoadingState

components/ui/LoadingState.jsx

Finding your best options

  • Searching 400+ airlines
  • Comparing fares
  • Checking availability
  • Preparing results

EmptyState

components/ui/EmptyState.jsx

No results found

Try adjusting your filters or dates.

LoadMoreButton

components/ui/LoadMoreButton.jsx