Staaarter

Service Highlight

A single-service highlight section: an eyebrow and large title on the left paired with a right-aligned summary paragraph, a wide hero image beneath, and a bold closing statement under a hairline rule.

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 media-slot dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/service-highlight.json

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

Usage

The file also exports feature62Demo, 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 { Feature62, feature62Demo } from "@/components/blocks/feature/feature62";

export default function Page() {
  return <Feature62 {...feature62Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstringnoneSmall label above the heading.
headingReactNodenoneLarge section heading.
summarystringnoneRight-aligned summary paragraph next to the heading.
imageMediaSlotImagenoneWide hero image below the header row.
statementReactNodenoneBold closing statement under the image.
classNamestringnoneExtra classes for the outer section element.

Behavior notes

  • Fully static server component, no client-side state.
  • The summary paragraph is left-aligned on mobile and right-aligned from the `lg` breakpoint up, matching the header's two-column layout only appearing at that size.
  • The closing statement sits under a hairline top border to visually separate it from the hero image above it.