Platform Architecture Diagram
A three-column architecture diagram. Each column starts with a parent category card (icon, title, description) and branches down into a list of nested child items, connected with CSS border lines styled as a simple tree diagram.
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/platform-architecture-diagram.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/feature/feature115.tsx instead.
Usage
The file also exports feature115Demo, 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 { Feature115, feature115Demo } from "@/components/blocks/feature/feature115"; export default function Page() { return <Feature115 {...feature115Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | undefined | Small label above the heading. |
| heading | string | none | Section heading. |
| description | string | undefined | Supporting paragraph under the heading. |
| categories | ArchitectureCategory[] | none | Parent category cards, each with its own list of child items. |
| className | string | none | Extra classes for the outer section element. |
Types
interface ArchitectureCategory { icon: LucideIcon; title: string; description: string; children: string[]; }
Behavior notes
- Purely presentational: this is a plain Server Component with no client-side state.
- The connecting branch lines are built entirely with border and pseudo-element (`before:`) CSS utilities, not SVG or JavaScript-measured positions, so they render identically in the live preview, the Code tab's static HTML, and every card thumbnail.
- A category with an empty `children` array renders as a standalone parent card with no branch lines beneath it.
More Feature Blocks
View all →Full-Bleed Workspace Band
Two-column header above a full-bleed image band with a live view switcher, closing on three numbered captions.
Center-Line Journey Timeline
Vertical hairline timeline alternating stages either side, dropping a phone frame on one step.
Figure-Led Evidence Rows
Tall image with a floating before-and-after card, leading into oversized-figure evidence rows.
Staircase Asset Trio
Three image tiles stepping down the page in a staircase, each floating a different live asset.
Sticky Reference List
Sticky heading column beside three labelled groups of checked capabilities, closing on a footnote.
Day Timeline Rows
Hairline rows walking through one working day, stamped with time and a live approval card inline.