Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Image Overlay About Block for React

A photo editor's tagline over its own product shot: a heading, a greyscale drawing of the editor in a framed figure with a caption panel floating over its foot and one ghost link, and a strip of figures since the first customer.

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

An about section for React with Base UI, written for Pocketlight, a fictional photo editor. A start-aligned heading and one sentence sit over a framed figure: a drawing of the editor in greyscale, with a title bar and an Export chip, a tool rail, a landscape on the canvas under a crop grid, an adjustments panel and a filmstrip of frames. From lg the figure's caption floats over the foot of the shot as a panel on a translucent card, with one sentence and one ghost link; below lg it sits under the shot. A strip under the figure counts three things "since our first customer", as a description list, and ends the block on content. The page's rails and top rule come from the Guides spine, so it lines up with its neighbours in a stack. It's built from Guides and Button, with a CSS entrance and your theme's tokens for every colour: the drawing is greyscale with one dark chip, and no part of it is a placeholder box. For about pages and company pages where the product is the picture. The figures are example data.

FAQ

How do I swap the drawing for a real screenshot?

The drawing is EditorShot in the file, one box with a fixed height. Replace it with an img (or Next.js Image) with a width, height and alt that describe the screenshot, remove aria-hidden and inert from the wrapper, and keep the caption as the figure's figcaption. The caption panel floats over whatever is in the box.

How is the caption connected to the shot?

It is the figcaption of the figure, the last child, so assistive technology reads it as the shot's caption. The drawing itself is hidden and inert: it holds no tab stops and no text a reader would hear twice. The heading above the figure is the section's only h2.

Why does the strip say

A year goes stale, and "Founded in" says little. The strip counts from the first customer instead, and each number is a description list entry with its label under it. The figures are example data; replace FIGURES with your own.

How does it fit on a phone?

The drawing is shorter and simpler on a phone: the tool rail and the filmstrip are hidden below sm, and the adjustments panel below md. The caption is a card under the shot rather than over it, so nothing covers the picture, and the figures stack one per row. In a right-to-left layout the drawing mirrors and the link's arrow turns around.

What moves, and what happens with reduced motion?

The heading and the shot fade up once on load, with CSS transitions, and with reduced motion they appear at once. Nothing else moves; there is no state or script.

  • Pro

    An about section for an invoicing studio: six founding artefacts as greyscale drawings in an asymmetric grid, each with a caption.

  • Pro

    Behind the Scenes About

    Culture and values

    One Tuesday at a theatre-software company, by department: an accordion of Support, Infrastructure and Design, each with that day's numbers, tools and an honest note.

  • Pro

    A bold statement for a furniture marketplace: one sentence in display type with a phrase picked out by a drawing marker on a faded field of dots, and three one-word commitments in a band ruled from rail to rail.

  • Pro

    Two founders of a pair-programming editor, each with an ordered list of what they did before they met, joined by a drawing into one shared line.

  • Pro

    Mission About

    Statements

    A mission statement for a home-care scheduling company: the mission in large type beside one supporting sentence, three pillars that each carry the figure they are checked by, and a founding line in relative time.

  • Pro

    An asymmetric bento of company figures for an expense tool: a lead cell with the customer count over a twelve-bar trend, and five smaller cells tagged People, Customers or Product, each footnoted with how it was counted.