Staaarter

Employee Spotlight Story

A featured employee spotlight: a large portrait photo, a personal pull-quote, and a small timeline of 3-4 role changes the employee has had at the company over time.

By Staaarter Team
Careers
Docs
Live preview

Docs

Installation

A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its avatar, avatar-initials dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/employee-spotlight-story.json

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

Usage

The file also exports careers22Demo, 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 { Careers22, careers22Demo } from "@/components/blocks/careers/careers22";

export default function Page() {
  return <Careers22 {...careers22Demo} />;
}

Props

PropTypeDefaultDescription
headingstring"Employee Spotlight"Section heading.
employeeSpotlightEmployeenoneName, role, portrait, quote, and milestone timeline.
classNamestringnoneExtra classes for the outer section element.

Types

interface CareerMilestone {
  year: string;
  label: string;
}

interface SpotlightEmployee {
  name: string;
  role: string;
  avatar?: { src: string; alt: string };
  quote: string;
  milestones: CareerMilestone[];
}

Behavior notes

  • Fully static: no client-side state.
  • The portrait falls back to initials via the Avatar component when no image is supplied.