Salary Bands Table
A compensation transparency section listing engineering levels and roles, each with a visual range bar positioned and sized within a shared track to show where that level's salary band sits relative to the company's overall range, plus a short equity note per row. Falls back to a stacked layout on mobile.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/salary-bands-table.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/careers/careers35.tsx instead.
Usage
The file also exports careers35Demo, 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 { Careers35, careers35Demo } from "@/components/blocks/careers/careers35"; export default function Page() { return <Careers35 {...careers35Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | none | Section heading. |
| description | string | none | Section subheading. |
| overallRangeLabel | string | none | Label describing the overall band range shown by the track, e.g. "$60k - $220k". |
| bands | SalaryBand[] | none | List of level/role salary bands to render. |
| className | string | none | Extra classes for the outer section element. |
Types
interface SalaryBand { level: string; role: string; rangeLabel: string; equityNote: string; barMarginLeftPct: number; barWidthPct: number; }
Behavior notes
- Fully static: each row's bar position (`marginLeft`) and size (`width`) are fixed percentage literals computed ahead of time from the demo salary data relative to the company's overall band, not computed at render time or randomized.
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.