Staaarter

Stacked List with Dividers

A heading and description above a vertical, divided list of linked rows. Each row shows a topic title, a short subtitle, and a trailing chevron indicator, suited to documentation navigation, topic browsing, or a content index.

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

npx shadcn add https://staaarter.com/r/stacked-list-with-dividers.json

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

Usage

The file also exports feature150Demo, 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 { Feature150, feature150Demo } from "@/components/blocks/feature/feature150";

export default function Page() {
  return <Feature150 {...feature150Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstringundefinedSmall label above the heading.
headingstringnoneSection heading.
descriptionstringundefinedSupporting paragraph under the heading.
itemsStackedListItem[]noneThe linked rows, rendered top to bottom with dividers.
classNamestringnoneExtra classes for the outer section element.

Types

interface StackedListItem {
  title: string;
  subtitle: string;
  href: string;
}

Behavior notes

  • This is a plain Server Component, each row is a real next/link anchor spanning the full row width, not a click handler on a div.
  • The chevron's translate-on-hover motion and the row's hover background are pure CSS, no JavaScript involved.