Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Destination Tabs Footer Block for React

A ferry-booking footer with destination tabs for three coasts, city links that keep their height when the coast changes, and a day-and-night helpline.

Framework
UI library

Preview

Preview width

Installation

Part of Pro
Pro unlocks the code and one-line install of every Pro button and text effect, plus the MCP for your AI editor.
Have Pro already? Sign in to open it.Opens here as soon as you're Pro.

Overview

A footer with destination tabs for React with Base UI, shown here for Fairlead, a ferry and coastal-trip booking site. Under the wordmark, a ruled band holds a nav labelled Footer: three coasts, Europe, Asia and the Americas, each a wrap of city links. Every coast's list is also stacked unseen in the same grid cell, so the band keeps the height of the tallest list and the page does not jump when the coast changes. Under that, a helpline band shows a status dot, the words "Agents online", and a large telephone link. A legal band closes the page. It's built from Tabs, Status and Guides.

FAQ

How do the destination tabs work?

They are a tab list named Coasts, one tab per coast, and the arrow keys move between them. Only the open coast's cities are shown. Every list is also kept unseen in the same grid cell, hidden from assistive technology and the keyboard, so the band stays as tall as the longest list.

How do I add a city?

Edit the CONTINENTS array. Each coast has an id, a label and a cities list, and every city is a link. The line under the heading and the count on each tab are counted from those lists. As written, that is 8 cities a coast and 24 in all.

What is the helpline?

A tel: link to +1 (415) 555-0188, an example number in the reserved range. The dot beside "Agents online" is decorative; the words carry the meaning, and the line under them says the desk is there day and night. Point the link at a number someone answers.

How do screen readers move through it?

The block is a footer. The coasts are one nav labelled Footer: a tab list, then the open coast's city links. Helpline is its own heading, and the telephone link's name includes "Call the helpline". The legal links are a labelled list.

How does it fit on a phone?

The wordmark, the coasts, the helpline and the legal line stack. The tab row scrolls sideways when the labels do not fit, and the city links wrap. The telephone number stays on one line.

Where does the copyright year come from?

It is the current year, read when the footer renders, so it never goes stale. The block is a server component with no state, so on a server-rendered site the year is the server's when the page was built or rendered.

  • Pro

    Developer Hub Footer

    Products and catalogs

    A developer-hub footer for a secrets manager: SDK tabs (TypeScript, Python, Go) with an install command, a copy button and the version, beside three link groups.

  • Pro

    Support Hub Footer

    Company and places

    A support-hub footer for a help-desk product: a question and a row of help links, then three support channels as cells, live chat with an online status, email with its reply time and phone with its hours, each one link.

  • Pro

    Status Bar Footer

    Slim and minimal

    The slimmest live footer for a cloud host: one band with the wordmark and copyright, a status dot and sentence, the p95 response time and three links.

  • Pro

    Region Status Footer

    Trust and compliance

    A split footer for a webhook-relay API: a subscribe-to-updates popover at the start, a framed figure of three regions with latency and thirty-day bars at the end.

  • Pro

    Sitemap Filter Footer

    Sitemaps and trails

    A sitemap footer for a documentation host: a search field that filters 36 links across six columns as you type, with a live count and a clear button.

  • Pro

    Mega Footer

    Link grids

    A mega footer for a cloud platform: a brand band, eight link groups with icons in two ruled bands of four on one desktop screen, an accordion on phones, and a legal band.