Featured Role with Positions
One larger featured job card at the top with extra padding, a muted background, and a 'Hiring now' badge, followed by a compact list of additional open roles below.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its badge, button dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/featured-role-with-positions.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/careers/careers5.tsx instead.
Usage
The file also exports careers5Demo, 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 { Careers5, careers5Demo } from "@/components/blocks/careers/careers5"; export default function Page() { return <Careers5 {...careers5Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | "We're hiring" | Section heading. |
| featured | FeaturedJob | none | The featured job shown in the highlighted card. |
| additionalHeading | string | "More open roles" | Heading above the additional openings list. |
| additionalOpenings | AdditionalOpening[] | none | Compact list of additional open roles. |
| className | string | none | Extra classes for the outer section element. |
Types
interface FeaturedJob { title: string; department: string; location: string; type: string; summary: string; } interface AdditionalOpening { id: string; title: string; department: string; location: string; }
Behavior notes
- Fully static: no interactivity beyond CSS hover states on the additional openings list.
- Both 'Apply for this role' and the per-row Apply links use placeholder hrefs, 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.
tab-filtered-job-board
Tab-Filtered Job Board
Department tabs (All/Engineering/Design/Marketing) that filter which job list is shown.
culture-stats-with-positions
Culture Stats with Positions
A company culture stats bar followed by detailed job position cards with a one-line description each.