Staaarter

Large Number List

A vertical FAQ list where each entry is paired with a large, faded numeral beside the question and answer, creating strong visual hierarchy without needing icons or images. All entries are always open.

By Staaarter Team
FAQ
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/large-number-list.json

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

Usage

The file also exports faq36Demo, 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 { Faq36, faq36Demo } from "@/components/blocks/faq/faq36";

export default function Page() {
  return <Faq36 {...faq36Demo} />;
}

Props

PropTypeDefaultDescription
badgestringnoneSmall label shown above the heading.
headingstringnoneSection heading.
descriptionstringnoneSupporting copy under the heading.
itemsNumberedFaqItem[]noneOrdered list of questions and answers.
classNamestringnoneExtra classes for the outer section element.

Types

interface NumberedFaqItem {
  question: string;
  answer: string;
}

Behavior notes

  • Plain server component; every question and answer is always visible, there's no expand/collapse behavior.
  • The numeral is derived from the item's array index (zero-padded), not passed in as data, and is purely decorative (aria-hidden) since the question text itself carries the meaning.