Staaarter

Job Openings Grid

Open job roles laid out as a responsive card grid instead of a list, one card per role with a department badge, title, location, employment type, and an Apply now link.

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

npx shadcn add https://staaarter.com/r/job-openings-grid.json

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

Usage

The file also exports careers2Demo, 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 { Careers2, careers2Demo } from "@/components/blocks/careers/careers2";

export default function Page() {
  return <Careers2 {...careers2Demo} />;
}

Props

PropTypeDefaultDescription
headingstring"Join our team"Section heading.
descriptionstring"We're growing fast..."Section subheading.
jobsJobOpening[]noneList of job cards to render.
classNamestringnoneExtra classes for the outer section element.

Types

interface JobOpening {
  id: string;
  title: string;
  department: string;
  location: string;
  type: string;
}

Behavior notes

  • Fully static: the card hover border/background is CSS-only, no client-side state.
  • The Apply now link is a placeholder href, nothing is submitted anywhere.