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.
Installation
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.
Related
- Pro
Developer Hub Footer
Products and catalogsA 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 placesA 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 minimalThe 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 complianceA 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 trailsA 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 gridsA 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.