Role Comparison Table

Side-by-side role comparison grid showing team, skills, experience, and salary for different positions. Responsive table-to-card layout.

PRO

Careers31: Role Comparison Table

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.

Upgrade to Pro

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.

Installation

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

bash
npx shadcn add "https://ui.beste.co/r/careers31?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
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.

Quick start

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.

tsx
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:

tsx
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"],
        },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string; variant?: "default" | "secondary" | "outline" }Optional eyebrow badge above the heading
headingstringSection heading, supports inline <strong>
descriptionstringSupporting paragraph under the heading
attributesstring[][]Row labels forming the leading attribute column
rolesRoleColumn[][]One comparison column per role
classNamestringExtra classes for the outer <section>
ts
type RoleColumn = {
  title: string;
  values: string[];
};

Behavior notes

More Careers blocks

View all Careers
PRO

careers14

Meet the Team Gallery

Team member photo grid with names and roles. Square portrait layout for showcasing leadership and team composition.

PRO

careers1

Job Listings List

Job listings section with role cards showing department, location, and employment type. Clean list layout with hover effects and apply buttons.

PRO

careers2

Job Openings Grid

Job openings grid with department badges, location tags, and apply buttons. Card-based layout for career pages.

PRO

careers35

Salary Bands Table

Transparent salary bands with level, role, visual range bars, and equity details. Pay transparency table with responsive card fallback.

PRO

careers18

Department Overview Grid

Department cards with team lead, headcount, open roles badge, and links. Helps candidates explore teams before applying.

PRO

careers7

Culture Stats with Positions

Team culture stats bar followed by detailed job position cards. Combines social proof with open roles listing.