Staaarter

Open Roles

A minimal, editorial-style open roles list in the vein of a design studio careers page: each row shows the role title, department/location meta text, a salary line, and a trailing arrow icon, with the whole row acting as a full-width 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 button dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/open-roles.json

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

Usage

The file also exports careers40Demo, 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 { Careers40, careers40Demo } from "@/components/blocks/careers/careers40";

export default function Page() {
  return <Careers40 {...careers40Demo} />;
}

Props

PropTypeDefaultDescription
headingstringnoneSection heading.
descriptionstringnoneSection subheading.
rolesOpenRole[]noneList of open roles to render.
classNamestringnoneExtra classes for the outer section element.

Types

interface OpenRole {
  title: string;
  meta: string;
  salaryLine: string;
  href: string;
}

Behavior notes

  • Fully static: each row is a full-width link button (`render={<Link href={role.href} />}`) with placeholder hrefs, nothing is submitted anywhere.