Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Grouped Competitor Table About Block for React

A grouped comparison for an ETL tool: sixteen features in Core, Security and Support, a toggle that rings one vendor column, and a note on the rows that need one.

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 competitor table for React with Base UI, written for Junctionly, a fictional ETL tool. A start-aligned header carries a single-choice Toggle Group that rings one vendor column: Junctionly, or one of three fictional rivals. Under it a framed table groups sixteen features into Core, Security and Support. Yes and No are words. A row with a note has a button that opens that note on hover and on keyboard focus. The footer counts included features from the same cells, so the total is a sum, not a typed figure. The table scrolls in a labelled region on a phone, and the feature names stay put. It's built from Table, Toggle Group, Tooltip and Guides, with a CSS entrance on the header and your theme's tokens for every colour. For an about page that has to show where a product matches the tools it meets in deals. The rivals and the cells are example data.

FAQ

How do I change the vendors and the features?

VENDORS names the columns, Junctionly first. GROUPS holds Core, Security and Support, and each feature has a name, a yes or no for every vendor, and a note that is empty when the row has none. The footer counts the yes cells, and the sentence in the header uses Junctionly's count. Add a row or a vendor and both update.

How does the column ring work?

The Toggle Group is one choice, and pressing the vendor that is already on does nothing, so a column stays ringed. The ring is drawn on that vendor's cells, closed at the start and end of each group, and the cells take a light tint. A visually hidden polite line names the vendor and how many features it includes.

How do the feature notes open?

A small button after the feature name opens a Tooltip. Hovering it, or focusing it from the keyboard, shows the note. The cell still reads Yes or No without the note, and an idle button does not put the note in the table.

How is it read by a screen reader?

The heading is the section's only h2. The table is named "Junctionly against Keelway, Flowkit and Datahaul". Group names are their own rows, feature names are the row headers, and each cell says Yes or No. The footer says how many features each vendor includes.

What happens on a phone?

The toggle sits under the header and scrolls sideways if the names are wider than the screen. The table scrolls inside a labelled region that a keyboard can focus, with the feature names pinned at the start. The ring stays on the chosen column.

What moves, and what happens with reduced motion?

The header fades up once on load. The table does not. With reduced motion the fade is off. Nothing loops, and ringing a column does not move the page.

  • Pro

    A payroll co-op's report of seven measures over four quarters in Financial and Operational groups, a sparkline on every row, footnotes, and a quarter picker that rings one column.

  • Pro

    A framed table across five shop clients for an A/B testing tool: what was tested, before and after, and the improvement computed as a chip with an arrow and a sign, with a ringed row on hover and focus.

  • Pro

    Duration Table Methodology

    Principles and process

    A methodology section for an engineering consultancy: a to-scale bar of five phases across six weeks, over a framed table with each phase's work, tools as badges and duration.

  • Pro

    A framed table of seven company figures for an open-startup tracker: last quarter, this quarter, the computed change and a thin bar toward each target, sortable by metric, change or progress.

  • Pro

    Response Times Matrix About

    Support and contact

    Support promises as a framed matrix of channels by plan, each cell giving the promised first response and last quarter's median, with the Enterprise column ringed and a status dot per channel.

  • Pro

    An eight-row comparison of a project suite with an unnamed typical tool, with real values, a monochrome check or dash, a count of where it leads and a Switch that shows only the rows that differ.