Skip to content

Shuttle timetable with next departure

A shuttle or coach timetable in both directions that highlights and announces today's next departure from the visitor's own clock.

  • Tailwind
  • React
  • CSS
  • WordPress
Open in a new tab

Description

For a resort shuttle, a school coach or a ferry, this component shows one direction at a time (picked with radio buttons) in a real table: departure, arrival and running days. From the visitor's clock, today's next departure is highlighted and marked, and a sentence announces it to screen readers; weekend runs only count on Saturday and Sunday, and in the evening the message gives the first run of the next day. The calculation reruns every 30 seconds and whenever the direction changes. Times in time elements, timetable readable without JavaScript (the first direction stays visible), buttons usable with the arrow keys with a visible focus. 44 px targets, AA contrast in light and dark mode, no horizontal scrolling from 360 px. Example: a shuttle between Moûtiers station and Méribel.

Code

Loading the code…

The code of this component in

Archive contents

tableau-horaires-transports-html-tailwind.zip3 files · 6 Ko

  • index.html18 Ko
  • README.md4 Ko
  • LICENSE.md1 Ko

Tags

Updated on December 3, 2026.

Reviews

No reviews yet.

In the same spirit

  • A documentation table showing where a kit or component has been tested (static HTML, WordPress, Elementor, Webflow, v0…), with status, last test date and a remark, filterable by status.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A table of the towns and postcodes a tradesperson covers, with response time and travel fee, filtered by search and by zone.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A timetable table sorted by column and filtered with level and free-place chips, whose rows each become a card on phones.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A filterable table whose visible rows export in one click to a CSV file that opens cleanly in Excel or LibreOffice.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component