Staaarter

Notification Status List

A vertical, bordered list of notification-style entries, well suited to an updates feed, changelog, or activity log. Each row pairs a title and description with a status `Badge` (Shipped, Rolling out, In review, etc.) and a right-aligned timestamp.

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

npx shadcn add https://staaarter.com/r/notification-status-list.json

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

Usage

The file also exports feature135Demo, 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 { Feature135, feature135Demo } from "@/components/blocks/feature/feature135";

export default function Page() {
  return <Feature135 {...feature135Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstringundefinedSmall label above the heading; omitted entirely when unset.
headingstringnoneSection heading.
descriptionstringundefinedSupporting copy under the heading.
itemsNotificationStatusItem[]noneNotification entries, rendered top to bottom in array order.
classNamestringundefinedExtra classes for the outer section element.

Types

interface NotificationStatusItem {
  title: string;
  description: string;
  status: string;
  statusVariant?: "default" | "secondary" | "outline" | "destructive";
  timestamp: string;
}

Behavior notes

  • Plain server component, purely presentational, no click handlers or live data feed.
  • `timestamp` is a plain string supplied by the caller (e.g. "2h ago") rather than computed with `Date.now()`, so the block renders identically on every pass (live preview, static HTML, and card thumbnails).
  • `statusVariant` defaults to `"secondary"` when omitted and maps straight to the shared `Badge` component's own variant prop, no custom color logic in this block.