Staaarter

Beliefs About

A centered statement heading above a numbered list of convictions or beliefs; individual rows can optionally carry a small square thumbnail photo, so decorative images are interspersed between plain text rows rather than every row looking identical.

By Staaarter Team
About
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/beliefs-about.json

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

Usage

The file also exports about51Demo, 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 { About51, about51Demo } from "@/components/blocks/about/about51";

export default function Page() {
  return <About51 {...about51Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstringundefinedSmall label above the heading.
headingstringnoneCentered statement heading.
descriptionstringundefinedOptional subhead below the heading.
beliefsBelief[]noneNumbered list rows; each may optionally include a small thumbnail image.
classNamestringnoneExtra classes for the outer section element.

Types

type Belief = {
  title: string;
  description: string;
  image?: MediaSlotImage;
};

Behavior notes

  • Unlike About6's numbered principles, where every row is plain text, each belief row here can independently carry a small size-16/20 thumbnail via MediaSlot; supplying an image on some rows and not others is the intended, expected usage, not an edge case.
  • The thumbnails are decorative photos, not people, so this uses MediaSlot rather than About1's Avatar/AvatarFallback pattern; there is no name-initials fallback because a belief row isn't tied to a person.
  • The whole list sits in a narrow, centered max-w-3xl column with a centered heading above it, closer to About15's single-column editorial width than to About6's wider two-column heading-plus-list layout.