shadcn.io is not affiliated with official shadcn/ui
Grouped Icon Links Social Navbar Block for React
A one-bar navbar for an indie game studio: three links, and five icon links sharing hairlines as a button group with tooltips, folding into one Follow popover on phones, beside a Subscribe Shine Button.
Installation
Overview
A navbar for a studio site in React with Base UI. The wordmark of Clatterbox, an indie game studio, leads; Games, Journal and About sit in the middle, the current page marked by a foreground stroke on the bar's bottom edge. At the end, five icon links (Feed, Source, Chat, Videos and RSS) share one set of hairlines as a button group, each named by a tooltip and by its own text, before a Subscribe Shine Button. The icons are plain lucide shapes, not any network's logo: swap in your own marks. Below the md breakpoint the whole group folds into one Follow button that opens a popover listing the same five links with their names; below lg the middle links fold into a sheet from the top. It's built from Button Group, Tooltip, Popover, Sheet, Shine Button and Guides. For studios, makers and open-source projects that live in several places.
FAQ
How do I change the five links?
Edit SOCIAL at the top of the file: each has a label, an href and a lucide icon. The button group, its tooltips and the Follow popover's rows all read it, so one edit changes all three. The links carry rel="noopener"; add target="_blank" when they leave your site.
How is an icon-only link named?
Each icon is decoration inside a link whose own text is the label, hidden visually (sr-only); the tooltip shows the same word on hover and focus. The group itself is named "Follow Clatterbox".
How do the tooltips work?
Each link is a tooltip trigger; hovering or focusing it shows the label, after a short delay on hover. Escape closes it.
How does it work on a phone?
Below md the group is replaced by one Follow button (icon only below 368 px) that opens a popover with the five links, icon and name on each row; the popover fits the screen at 320 pixels. Below lg a menu button opens a sheet from the top with the middle links and, below sm, the Subscribe button. Choosing a link in the sheet closes it.
Related
- Pro
Icon-Only Navbar
Cells and splitsAn icon-only navbar for a messaging app: six destinations in square cells on shared hairlines, each named by a tooltip, with unread dots and a Show labels toggle that widens the cells to reveal the words.
- Pro
SaaS Marketing Navbar
Mega menusA one-bar marketing navbar for a product roadmap tool: a wordmark, a Product menu of four areas with icons and one-line descriptions, plain links with the current page marked, Sign in and a Shine Button, and a sheet with the same links on phones.
- Pro
Create Menu Navbar
App toolbarsAn app bar with a Shine Create button that opens a grouped menu with working key hints and a New from template submenu, and a bottom drawer with the same rows on phones.
- Pro
Social Links Banner
Top barsA one-line follow strip for an indie game studio: a real list of five plain links separated by dots drawn in CSS, with a quiet arrow that appears on hover and focus.
- Pro
Stars Button Open Source Navbar
Meters and progressA one-bar navbar for an open source embedded database: a version badge by the wordmark, Docs, Examples and Playground links, a Releases menu of the last three versions, a GitHub stars button with a typed count and a Get started Shine Button.
- Pro
Minimal Navbar
Link highlightsThe least navbar there is: a slim 48 px bar with a wordmark, three plain links and one Shine Button for a journaling app, with no motion, the current page marked by weight and a dot, and a bottom drawer on phones.