Staaarter

Wide Band With Field Facts

A cinematic image band carrying a pill label in its corner, followed by a ruled four-column row where each measured fact pairs an oversized figure with a sentence of testing context. The outline pill CTA sits on the heading line between the two.

By Staaarter Team
Feature
Docs
Live preview

Docs

Installation

A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its button, badge, media-slot dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/wide-band-with-field-facts.json

Prefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/feature/feature16.tsx instead.

Usage

The file also exports feature16Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.

import { Feature16, feature16Demo } from "@/components/blocks/feature/feature16";

export default function Page() {
  return <Feature16 {...feature16Demo} />;
}

Props

PropTypeDefaultDescription
bandLabelstringundefinedPill label overlaid on the bottom-left corner of the image band.
bandPhoto{ src: string; alt: string }noneWide cinematic photo for the band.
headingstringnoneHeading between the band and the facts row.
cta{ label: string; href: string }undefinedOutline pill CTA rendered on the heading line.
factsFieldFact[]noneRuled fact columns below the heading.
classNamestringnoneExtra classes for the outer section element.

Types

type FieldFact = {
  figure: string;
  context: string;
};

Behavior notes

  • Purely presentational: no client-side state. The CTA is a decorative link (href "#" in the demo).
  • The image band always spans the full section width outside the max-w content container; the label badge only renders when bandLabel is set.
  • facts renders in a 4-column grid divided by vertical rules on desktop, which collapses to a single column with horizontal rules on mobile.