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.
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.jsonPrefer 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
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | "Refer a friend, get rewarded" | Section heading. |
| description | string | none | Section subheading. |
| steps | string[] | none | Ordered list of process steps. |
| bonusLabel | string | "Referral bonus" | Label above the bonus amount. |
| bonusAmount | string | none | Large dollar figure shown in the highlight card. |
| bonusNote | string | none | Short note under the bonus amount, e.g. payout terms. |
| ctaLabel | string | "Refer someone" | Label for the CTA button. |
| className | string | none | Extra 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.
More Careers Blocks
View all →job-listings-list
Job Listings List
A vertical list of open roles with department badge, location, employment type, and an apply link per row.
job-openings-grid
Job Openings Grid
A responsive card grid of open roles with department badge, location, employment type, and an apply link.
department-grouped-positions
Department-Grouped Positions
Open jobs grouped under department headings with minimal single-line rows for title, location, and type.
perks-open-positions
Perks & Open Positions
A benefits icon grid followed by a list of open positions with title, department, and location.
featured-role-with-positions
Featured Role with Positions
A larger featured job card with a 'Hiring now' badge, followed by a compact list of additional openings.
tab-filtered-job-board
Tab-Filtered Job Board
Department tabs (All/Engineering/Design/Marketing) that filter which job list is shown.