Side-by-side role comparison grid showing team, skills, experience, and salary for different positions. Responsive table-to-card layout.
Side-by-side role comparison that renders an optional centered header (badge, <strong>-aware heading, description) above a comparison matrix: on desktop a CSS-grid table with one leading attribute column plus one column per role and zebra-striped rows, collapsing on mobile into one stacked card per role that lists each attribute against its value.
Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.
Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.
Radix flavor
npx shadcn add "https://ui.beste.co/r/careers31?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/careers31?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/careers31.tsx, plus the badge shadcn/ui primitive it uses for the section eyebrow badge.
The installed file exports careers31Demo alongside the block: the exact props behind the preview above. Spread it to get a working role comparison table in one line.
import { Careers31, careers31Demo } from "@/components/beste/block/careers31";
export default function CareersPage() {
return <Careers31 {...careers31Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Careers31 } from "@/components/beste/block/careers31";
export default function CareersPage() {
return (
<Careers31
badge={{ label: "Compare Roles", variant: "secondary" }}
heading="Find your <strong>fit</strong>"
description="Compare positions side by side."
attributes={["Team", "Experience Level", "Location"]}
roles={[
{
title: "Frontend Engineer",
values: ["Product Engineering", "2 to 5 years", "Remote or SF"],
},
{
title: "Backend Engineer",
values: ["Platform Team", "3 to 6 years", "Remote or SF"],
},
]}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string; variant?: "default" | "secondary" | "outline" } | – | Optional eyebrow badge above the heading |
heading | string | – | Section heading, supports inline <strong> |
description | string | – | Supporting paragraph under the heading |
attributes | string[] | [] | Row labels forming the leading attribute column |
roles | RoleColumn[] | [] | One comparison column per role |
className | string | – | Extra classes for the outer <section> |
type RoleColumn = {
title: string;
values: string[];
};badge, heading, or description is set; each of the three is then individually gated too.heading is injected via dangerouslySetInnerHTML, so inline <strong> markup renders and is recolored to text-primary; any other HTML in the string is also rendered unescaped.gridTemplateColumns: repeat(${roles.length + 1}, minmax(0, 1fr)), so the leading attribute column plus every role column share equal width and the layout expands automatically as you add roles.role.values[rowIndex] is paired with attributes[rowIndex], so each role's values array must be ordered to match attributes, and a missing value falls back to a literal em dash placeholder.rowIndex % 2 === 0, applying bg-muted/30 to even attribute rows on desktop and even attribute blocks within each mobile card.hidden md:block) and the mobile stacked cards (flex md:hidden) are two separate DOM trees toggled purely by breakpoint, so both are always present in markup."use client" but performs no client-side behavior.careers14
Team member photo grid with names and roles. Square portrait layout for showcasing leadership and team composition.
careers1
Job listings section with role cards showing department, location, and employment type. Clean list layout with hover effects and apply buttons.
careers2
Job openings grid with department badges, location tags, and apply buttons. Card-based layout for career pages.
careers35
Transparent salary bands with level, role, visual range bars, and equity details. Pay transparency table with responsive card fallback.
careers18
Department cards with team lead, headcount, open roles badge, and links. Helps candidates explore teams before applying.
careers7
Team culture stats bar followed by detailed job position cards. Combines social proof with open roles listing.