Staaarter

Feature with Two-Column Checklist and Image

A two-column feature section with a badge, heading, description, a 2-column checklist of icon items, and a CTA on one side, with a square image on the other. imagePosition defaults to "left" here, the opposite default from the stats-grid variant, to emphasize the checklist as the visual lead.

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

npx shadcn add https://staaarter.com/r/feature-two-column-checklist-image.json

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

Usage

The file also exports feature67Demo, 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 { Feature67, feature67Demo } from "@/components/blocks/feature/feature67";

export default function Page() {
  return <Feature67 {...feature67Demo} />;
}

Props

PropTypeDefaultDescription
badgestringundefinedSmall label above the heading.
headingReactNodenoneSection heading.
descriptionstringundefinedSupporting paragraph under the heading.
itemsFeature67ChecklistItem[]noneChecklist items shown in a 2-column grid; each defaults to a check-circle icon when none is given.
ctaFeature67CtaundefinedOptional link button under the checklist.
imageMediaSlotImagenoneSquare image on the opposite side from the checklist.
imagePosition"left" | "right""left"Which side the image sits on.
classNamestringnoneExtra classes for the outer section element.

Types

interface Feature67ChecklistItem {
  title: string;
  description?: string;
  icon?: LucideIcon;
}

interface Feature67Cta {
  label: string;
  href: string;
}

Behavior notes

  • Fully static Server Component: no event handlers, no client state.
  • Each checklist item falls back to a CheckCircle2 icon when its own icon prop is omitted, since this is a Server Component it can accept a per-item icon component reference directly (unlike a "use client" block).
  • The CTA renders as a real Next.js Link via the button's render prop, but has no destination behavior beyond navigating to whatever href you supply.