Department-Grouped Positions
Open positions organized under department headings (Engineering, Design, Sales, etc.), with a compact single-line row per job showing title, location, and employment type.
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/department-grouped-positions.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/careers/careers3.tsx instead.
Usage
The file also exports careers3Demo, 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 { Careers3, careers3Demo } from "@/components/blocks/careers/careers3"; export default function Page() { return <Careers3 {...careers3Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | "Open roles by department" | Section heading. |
| description | string | "Browse current openings..." | Section subheading. |
| departments | JobDepartment[] | none | Departments, each with a name and its list of jobs. |
| className | string | none | Extra classes for the outer section element. |
Types
interface DepartmentJob { id: string; title: string; location: string; type: string; } interface JobDepartment { name: string; jobs: DepartmentJob[]; }
Behavior notes
- Fully static: the row hover highlight is CSS-only, no client-side state.
- The Apply link per row is 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.
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.
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.