Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Tabbed Hero Feature Split Features Block for React

A features section for a contract-signing tool: pill tabs over one framed card whose contract drawing changes with the stage, a signature field that fills when you press Sign, and the copy under it in two columns.

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 features section for React with Base UI, where three stages of one product share a single card. A centred header sits over three pill tabs (Draft, Review and Sign) and one framed figure with a plus mark on each corner. The top of the card draws the contract page for the open stage: an editor with its toolbar and outline, a redlined clause with a comment thread, and a signature field. Under the drawing the copy sits in two columns: the title and sentence, then three ticks and the page's one Shine Button. It's tabs, a button, a badge, avatars and the Guides line kit, with your theme's tokens for every colour. For products that are easiest to show as a short sequence on one document.

FAQ

How do I change the stages and the copy?

Edit VIEWS at the top of the file: each stage has a label, a title, a sentence and three ticks. Each drawing is its own small component (DraftDrawing, ReviewDrawing and SignDrawing), picked in Stage by the stage's id, so a fourth stage needs an entry, a drawing and one line in Stage.

Does the Sign button really do something?

It toggles the block's signed state: the signature is revealed from its start, the badge on the page changes to Signed, the signers list counts you in and a polite status line says so. The label becomes Clear signature, so the field can be reset with the keyboard. The state lives above the tabs, so it survives switching to another stage and back. Nothing is sent anywhere.

Why doesn't the card change size when I switch tabs?

The three copies sit in one hidden grid cell under the open panel, and the drawing has a fixed height, so the card is always as tall as the tallest stage. That hidden copy is invisible and inert: it can't be focused or read by a screen reader.

How do the tabs work?

They are real tabs with real panels, so Tab moves into the open panel and the arrow keys move between stages. The open tab is filled by its selected state, and arrow keys select the tab they land on.

Are the drawings accessible?

The Draft and Review drawings are decoration: they are hidden from assistive technology and can't be focused, because the title and sentence under them say the same. The Sign drawing is live, so its page text, its button and its status line are readable and the stand-in lines and the signature itself are hidden.

How does it fit on a phone?

The three tabs stay in a row above the card, the drawing is shorter and shows one page without the side panel (the Sign button stays in the page), and the copy stacks under it in one column: title and sentence, then ticks and the button.

  • Pro

    A features section for a release tool: a line tab switch (Plan, Ship, Review) that swaps one split band, with a drawing flush to the start rail and the copy on the end side.

  • Pro

    A features section for a performance budget tool: pill tabs swap both panes of one framed view, a text pane with the counts and a bar chart that a budget slider cuts across.

  • Pro

    A features section where four pills pick the one metric a flagship card shows: a giant rolling number with a delta badge and three ticks beside a 24-hour area chart.

  • Pro

    Three tall cells, each opening with a framed greyscale drawing: a photo contact sheet, a shoot timeline and a comment thread.

  • Pro

    A features section for an admin console in three panes: a vertical tab rail of five categories, an accordion of that category's features, and a console screen on the end side that outlines the row of the open feature.

  • Pro

    Tabbed Product Views Hero

    Interactive demos

    A centred showcase hero with a Shine Button and an outline action over a pill tab switch and one wide product window in a hairline frame that shows a chat, a terminal session or a docs page.