Tab-Filtered Job Board
A job board with department tabs across the top (All, Engineering, Design, Marketing). Selecting a tab shows that department's job list with title, location, and employment type per role.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its tabs, button dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/tab-filtered-job-board.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/careers/careers6.tsx instead.
Usage
The file also exports careers6Demo, 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 { Careers6, careers6Demo } from "@/components/blocks/careers/careers6"; export default function Page() { return <Careers6 {...careers6Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | "Open roles" | Section heading. |
| description | string | "Filter openings by department." | Section subheading. |
| tabs | JobTab[] | none | Department tabs, each with a value, label, and its list of jobs. |
| defaultTab | string | none | Value of the tab selected by default. Defaults to the first tab. |
| className | string | none | Extra classes for the outer section element. |
Types
interface TabJob { id: string; title: string; location: string; type: string; } interface JobTab { value: string; label: string; jobs: TabJob[]; }
Behavior notes
- The tab switching is real, uncontrolled interactivity from the base `Tabs` primitive (`defaultValue`): clicking a department tab shows only that department's jobs. This stays a Server Component because it only needs uncontrolled tab-switching, not a read of the active tab value for other logic.
- The per-row Apply link is a placeholder href, nothing is submitted anywhere.
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.
culture-stats-with-positions
Culture Stats with Positions
A company culture stats bar followed by detailed job position cards with a one-line description each.