Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Left Right Icon CTA with Facts Footer Block for React

A card-in-card call to action: an icon tile, a short headline and a sentence at the start, the Shine Button at the end, and a tray along the shell's foot with three facts that each have an icon.

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

Close a docs page or a product section with a banner that stays small and still answers "will it work for me?", for a CI service called Ferry. A muted shell with + marks on its corners holds a raised panel that follows your theme: an icon tile beside a short headline and a line of copy at the start, the Shine Button "Add to repository" at the end. A tray along the foot of the shell lists three facts, each with its own icon: what it works with, how long it takes to set up and its licence. The facts are a real list, not words joined by pipe characters, so they wrap cleanly and read well aloud. It's built from Item (its icon tile), Guides and Shine Button, with your theme's tokens for every colour. For developer tools, open-source projects, integrations and any compact conversion band with a few supporting facts.

FAQ

How do I change the icon, the headline and the facts?

Swap the Lucide icon inside the tile, edit the heading and paragraph, and change FACTS at the top of the file: each fact has an icon and a line of text. Two to four facts fit; they sit in a row on wide screens and wrap onto more lines on narrow ones.

Which claims should I check before using it?

The three facts are samples. Replace them with ones that are true of your product, and keep them checkable: a list of supported languages, a setup step count you have timed and a licence you have published. This block deliberately has no adoption figures such as "used by 1,200 repositories", since those go stale and need a source.

How does a screen reader read it?

The headline is an h2, the icon tile is decoration and hidden, and the facts are a list whose icons are hidden too, so it reads "Works with Node, Python, Go and Rust" and the rest as three list items. All the text is in your theme's muted foreground at full strength, which keeps its contrast at AA in light and dark.

How does it fit on a phone?

Below the md breakpoint the icon and text stack above a full-width button, and the facts in the tray wrap under each other. Nothing has a fixed width, so it reads at 320 pixels without scrolling sideways.

  • Pro

    Compact Left Right CTA

    Prices and offers

    A slim renewal band between solid rails with a Shine Button and an outline link on the end side, and a closing band of three cells that sets the two prices and the saving side by side.

  • Pro

    The baseline left-right call to action: a split between solid rails with a headline and one line at the start and, past a divider, a tinted cell at the end that holds the Shine Button over an outline action.

  • Pro

    A card-in-card call to action that follows your theme: a headline with a quiet outline pill that links to a customer story, one sentence, and the Shine Button with an outline action at the end.

  • Pro

    Icon Banner CTA

    Slim bands

    A slim band split into cells between solid rails: an icon tile, a solid divider, a title with one line of detail, and a Shine Button link on the end.

  • Pro

    A slim documentation band between solid rails: a framed icon tile, a title that is one big link over the whole row, and a Shine Button to the quickstart.

  • Pro

    Icon Accent CTA

    With a closing band

    A band call to action with an accent icon in a hairline frame, a Shine Button and a docs link, and a closing band of three cells that fill in one by one when you press Deploy now.