Staaarter

Why Join Us

A 'why join us' section: a band of 3-4 team stats (headcount, countries, rating, tenure) followed below by a grid of icon-led benefit highlight cards, each with a title and short description.

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

npx shadcn add https://staaarter.com/r/why-join-us.json

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

Usage

The file also exports careers47Demo, 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 { Careers47, careers47Demo } from "@/components/blocks/careers/careers47";

export default function Page() {
  return <Careers47 {...careers47Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstring"Why Join Us"Small label above the heading.
headingstring"Built by a team that likes working here"Section heading.
descriptionstringnoneSection intro paragraph.
statsTeamStat[]none3-4 team stats shown in the stats band.
benefitsJoinBenefit[]noneIcon-led benefit highlight cards below the stats band.
classNamestringnoneExtra classes for the outer section element.

Types

type TeamStat = {
  value: string;
  label: string;
};

type JoinBenefit = {
  icon: "team" | "health" | "learning" | "remote";
  title: string;
  description: string;
};

Behavior notes

  • Fully static: the stats band and benefit grid render fixed demo data with no client-side state.
  • Each stat's icon is picked from a fixed 4-icon array by array position (index modulo 4), it is not part of the stat's own data.
  • benefit.icon is a fixed enum mapped to a hardcoded lucide-react icon internally.