Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Featured Focal Diagram Logos Block for React

A hub-and-spokes diagram for a webhook-delivery tool: the flagship customer at the centre of an inset frame, three supporting customers on each side, and hairline curves running to each.

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 hub-and-spokes diagram for React with Base UI. A muted shell with + marks on its corners holds one raised panel. At its centre sits the flagship customer: a plate, its wordmark, a "Flagship customer" badge and its monthly volume. Three supporting customers stand in a column on each side as pill chips, and a spray of hairline curves runs from the centre to each of them. The curves are SVG drawn with strokes that stay one pixel wide however the panel stretches, and they mirror on a right-to-left page so they keep running from the hub. The block follows your theme, the shell and the ring doing the work a dark panel would. Below lg the curves are gone: the flagship leads and the two columns of three sit under it. Built from Frame, Guides, Badge and Lucide icons, with a CSS transition for the entrance and your theme's tokens for every colour. For a product whose proof is one big customer and the teams around it.

FAQ

How do I change the customers?

Edit FLAGSHIP for the centre, and START_COLUMN and END_COLUMN for the three on each side. Each entry is a name, an icon, a lettering and a mark. The curves aim at one sixth, one half and five sixths of the columns' height, so keep exactly three customers in each column and the lines stay on the chips.

How are the curves drawn?

Three paths in one SVG per side, in a 100 by 100 box stretched to the grid cell with preserveAspectRatio="none" and vector-effect: non-scaling-stroke, so the line is always a hairline. The second SVG is the first mirrored with a CSS scale, and each flips again on a right-to-left page. The SVGs are decoration and hidden from assistive technology.

What does it look like on a phone?

The curves are hidden below lg, where the columns would be too narrow for them. The flagship sits on top, centred, and the six chips fall into two columns of three under it from sm. On the narrowest phones the columns stack into one, so the chips never crowd.

Is the diagram accessible?

Yes. The header is an h2, the flagship a card with its name as an h3, and the six customers are two lists, "Customers, first three" and "Customers, last three", with each company's name as text. The icons and the curves are hidden from assistive technology, and nothing in the chips is focusable, so the hover colour is only a visual touch.

Does it follow my theme?

Yes. Nothing is dark by itself: the panel is the card colour with a ring and a shadow, the shell a tint of the muted colour, the chips the page colour and the curves the border colour, so both light and dark presets keep the panel lifted.

What moves?

The header and the frame fade up once when the page loads, with CSS transitions, and each chip's text eases to the text colour on hover. With reduced motion the transitions are off. The curves are static.

  • Pro

    Featured Focal Hub Logos

    Flagship customer

    A flagship customer in a framed card with a hairline tree down to a bracket of six supporting wordmarks, the caption "Integrates with" sitting on the line, for a release-management tool.

  • Pro

    A split for a patch-management tool: one flagship customer in a raised panel at the start, six integrations as rows with a Live status at the end, a solid divider between.

  • Pro

    A bento for a data warehouse in a card-in-card shell: four customers that each show the drop in slow queries as a figure and a falling trend line, beside one customer story set at the end.

  • Pro

    A flagship customer's plate raised on the top edge of an inset frame that holds its quote and who said it, for a property-management tool.

  • Pro

    A wide flagship band over a grid of six wordmarks for a bookkeeping tool: plate, wordmark and tenure at the start, one big figure at the end, both rail to rail.

  • Pro

    Sixteen customers of a password manager as icon-only circles in one framed figure, with the customer named in a label on hover and as text for screen readers.