# Open Roles By Department

> Open positions list grouping job roles by department, each row showing the title, location, and employment type with an apply link.

A shadcn/ui block from the [@7ovr](https://7ovr.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/7ovr/careers-1).

- Page, with a live preview: https://shadcn.exchange/r/7ovr/careers-1
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/7ovr/careers-1-light-d6c8966a60f9cb04.png
- Registry item: https://7ovr.com/r/careers-1.json
- Categories: careers
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://7ovr.com/r/careers-1.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- npm packages: `@base-ui/react`
- Registry items: `badge`

## Files

### `registry/blocks/careers/1/careers-block.tsx`

```tsx
import { Badge } from "@/components/ui/badge"
import { IconPlaceholder } from "@/components/icons/icon-placeholder"

type Role = { title: string; location: string; type: string }

const departments: { name: string; roles: Role[] }[] = [
  {
    name: "Engineering",
    roles: [
      {
        title: "Senior Frontend Engineer",
        location: "Remote",
        type: "Full-time",
      },
      { title: "Backend Engineer", location: "Berlin", type: "Full-time" },
      { title: "Platform Engineer", location: "Remote", type: "Full-time" },
    ],
  },
  {
    name: "Design",
    roles: [
      { title: "Product Designer", location: "Remote", type: "Full-time" },
      { title: "Brand Designer", location: "London", type: "Contract" },
    ],
  },
  {
    name: "Marketing",
    roles: [{ title: "Content Lead", location: "Remote", type: "Full-time" }],
  },
]

const total = departments.reduce((sum, d) => sum + d.roles.length, 0)

export default function CareersBlock() {
  return (
    <section className="flex w-full items-center justify-center bg-background px-6 py-16 text-foreground">
      <div className="mx-auto w-full max-w-2xl">
        <div className="mb-10">
          <Badge variant="outline" className="mb-4">
            Careers
          </Badge>
          <h2 className="font-heading text-3xl font-bold tracking-tight">
            Open positions
          </h2>
          <p className="mt-3 text-muted-foreground">
            We are a remote-first team with {total} open roles and growing. Come
            build with us.
          </p>
        </div>

        <div className="flex flex-col gap-8">
          {departments.map((department) => (
            <div key={department.name} className="flex flex-col gap-3">
              <div className="flex items-center gap-2">
                <h3 className="font-heading text-xs font-medium tracking-wide text-muted-foreground uppercase">
                  {department.name}
                </h3>
                <span className="text-xs text-muted-foreground tabular-nums">
                  {department.roles.length}
                </span>
              </div>

              <ul className="flex flex-col overflow-hidden rounded-xl border border-border">
                {department.roles.map((role, i) => (
                  <li
                    key={role.title}
                    className={i > 0 ? "border-t border-border" : ""}
                  >
                    <a
                      href="#"
                      className="group flex items-center justify-between gap-4 px-4 py-3.5 transition-colors hover:bg-muted/40"
                    >
                      <div className="flex flex-col gap-1.5">
                        <span className="text-sm font-semibold">
                          {role.title}
                        </span>
                        <div className="flex flex-wrap items-center gap-x-4 gap-y-1 text-xs text-muted-foreground">
                          <span className="flex items-center gap-1">
                            <IconPlaceholder
                              lucide="MapPin"
                              tabler="IconMapPin"
                              hugeicons="MapPinIcon"
                              phosphor="MapPin"
                              remixicon="RiMapPinLine"
                              className="size-3.5"
                              aria-hidden="true"
                            />
                            {role.location}
                          </span>
                          <span className="flex items-center gap-1">
                            <IconPlaceholder
                              lucide="Briefcase"
                              tabler="IconBriefcase"
                              hugeicons="BriefcaseIcon"
                              phosphor="Briefcase"
                              remixicon="RiBriefcaseLine"
                              className="size-3.5"
                              aria-hidden="true"
                            />
                            {role.type}
                          </span>
                        </div>
                      </div>
                      <span className="flex shrink-0 items-center gap-1 text-sm font-medium">
                        Apply
                        <IconPlaceholder
                          lucide="ArrowRight"
                          tabler="IconArrowRight"
                          hugeicons="ArrowRightIcon"
                          phosphor="ArrowRight"
                          remixicon="RiArrowRightLine"
                          className="size-4 transition-transform group-hover:translate-x-0.5"
                          aria-hidden="true"
                        />
                      </span>
                    </a>
                  </li>
                ))}
              </ul>
            </div>
          ))}
        </div>
      </div>
    </section>
  )
}
```
