Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Social Icons Footer Block for React

A two-row footer: a wordmark and tagline beside five social icon buttons with tooltips, and a ruled band with the copyright and the policy links.

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 simple footer for React with Base UI, for an app or a personal site where people mostly want to find you elsewhere. The first row has the wordmark and one tagline at the start and, at the end, five social icon buttons: each is a ghost icon button that is a real link, with its network named for screen readers and in a tooltip on hover or keyboard focus. A band under it, ruled from the rails by Guides with a + where it meets them, carries the copyright at the start and the policy links, in a nav labelled Footer, at the end. It ends the page, so it draws no closing rule. On a phone both rows stack. The icons are generic glyphs, since the icon set has no brand logos.

FAQ

How do I change the social links?

Edit the SOCIAL array: each entry is an icon, a label and an href. The label is both the tooltip and the accessible name, so keep it as the network's name. To use the networks' own logos, swap the icon for your brand icons. Five fit comfortably beside the wordmark; add more and they wrap.

How do the tooltips work, and what about touch?

Each icon opens a tooltip with its name on hover and on keyboard focus, using the library's own tooltip. The tooltip trigger renders the icon link itself, so there is no wrapper element. On touch screens the tooltip does not open, but the name is also in the link's hidden text, so screen readers and voice control still find it.

How do keyboard and screen reader users get around?

The block is a footer, the page's content-info landmark when placed outside main. The social links are a list named Follow Quirk, and the policy links sit in a nav named Footer. Every icon is a link in the tab order and shows the theme's focus ring.

How does it sit under the rest of the page?

The footer uses the spine every block shares, so its top rule is the only line between it and the block above. The band's rule is drawn by Guides inside the page column, and nothing is drawn under the band because the footer is the end of the page.

How does it fit on a phone?

The wordmark and tagline come first, then the five icons in a row, then the band with the copyright above the policy links. Nothing scrolls sideways at 320 pixels.

  • Pro

    Stacked Bands Footer

    Slim and minimal

    A footer in three ruled bands: the wordmark, a sentence and the shop's pages; five social links with their names; and the legal row.

  • Pro

    One Row Footer

    Slim and minimal

    The smallest footer: one row on the spine with a wordmark and a copyright line at the start and four inline links with a drawn underline at the end.

  • Pro

    The classic link-column footer for an email API: a brand column with the wordmark, one sentence and four social links, four groups of links behind a split divider, and a legal band with the copyright and the policy links.

  • Pro

    A centred footer in three tiers: a hairline hanging from the top rule to a round wordmark mark, a row of six links, and the copyright line.

  • Pro

    An even two-column footer: the wordmark, description, social icons and legal line behind a divider from a numbered, two-column list of eight links.

  • Pro

    A footer showing the latest post from three channels as cells that share their hairlines, each a drawn mark, a time, one sentence and a View post line, with a Follow row of counts, then the wordmark and one row of links.