Office Locations Grid
A grid of office location cards, each with a wide photo, the city name, team headcount, and a short tagline about the office. Good for a careers page showing where a distributed company has a physical presence.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its media-slot dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/office-locations-grid.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/careers/careers13.tsx instead.
Usage
The file also exports careers13Demo, 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 { Careers13, careers13Demo } from "@/components/blocks/careers/careers13"; export default function Page() { return <Careers13 {...careers13Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | none | Section heading above the locations grid. |
| subheading | string | none | Short supporting line under the heading. |
| offices | OfficeLocation[] | none | List of office cards to render. |
| className | string | none | Extra classes for the outer section element. |
Types
interface OfficeLocation { city: string; teamSize: string; tagline: string; image: { src: string; alt: string }; }
Behavior notes
- Fully static. Photos render via MediaSlot, which falls back to a gradient placeholder if an office's image field is omitted.
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.
department-grouped-positions
Department-Grouped Positions
Open jobs grouped under department headings with minimal single-line rows for title, location, and type.
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.