Staaarter

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.

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/department-grouped-positions.json

Prefer 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

PropTypeDefaultDescription
headingstring"Open roles by department"Section heading.
descriptionstring"Browse current openings..."Section subheading.
departmentsJobDepartment[]noneDepartments, each with a name and its list of jobs.
classNamestringnoneExtra 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.