Staaarter

Employee Referral Program

An employee referral program section: a numbered step-by-step process from referring a friend to getting a bonus, a highlight card showing the referral bonus amount, and a Refer someone CTA button.

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

npx shadcn add https://staaarter.com/r/employee-referral-program.json

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

Usage

The file also exports careers23Demo, 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 { Careers23, careers23Demo } from "@/components/blocks/careers/careers23";

export default function Page() {
  return <Careers23 {...careers23Demo} />;
}

Props

PropTypeDefaultDescription
headingstring"Refer a friend, get rewarded"Section heading.
descriptionstringnoneSection subheading.
stepsstring[]noneOrdered list of process steps.
bonusLabelstring"Referral bonus"Label above the bonus amount.
bonusAmountstringnoneLarge dollar figure shown in the highlight card.
bonusNotestringnoneShort note under the bonus amount, e.g. payout terms.
ctaLabelstring"Refer someone"Label for the CTA button.
classNamestringnoneExtra classes for the outer section element.

Behavior notes

  • Fully static: no client-side state.
  • The CTA button is a link (`render={<Link href="#" />}`) with a placeholder href, nothing is submitted anywhere.