Skip to content
Klarhimmel UI

Careers, role detail

Careers, role detail previewCareers, role detail preview

Install

npx shadcn add https://ui.klarhimmel.com/r/careers-detail.json
DetailsAbout, usage, props and more

One role in full: the title and a summary, the facts as a definition list (team, location, type, salary), what you will do and what you bring as two lists, how hiring…

Import

Import

import Block from '@/components/klarhimmel/blocks/careers-detail';
Also called
  • careers/detail
About
One role in full: the title and a summary, the facts as a definition list (team, location, type, salary), what you will do and what you bring as two lists, how hiring works, and an Apply button with an optional second link.
Category
Open roles by team, and one role in detail. New project? Set it up once: /get-started/installation.

Notes

When to use it

One role in full: a summary, the facts, what the person will do and bring, and how hiring works. For a list of many openings, start with careers-roles.

Writing for it

- The facts are two to five label and value pairs, such as Team, Location and Salary. Include the salary when you can, since it is what readers look for first. - The two lists take two to six items of 140 characters. Write what the person will do as verbs and what they bring as things they have done. - The process line holds 240 characters. Say how many steps there are and how soon candidates hear back.

Watch out for

The second link, such as a question, disappears when its label is empty. Leave it empty rather than pointing it at the same address as Apply.

Usage

The block in a page, with its default content (long lists shortened). Every prop is in the table below.

section.tsx
import { Theme } from '@/components/klarhimmel/theme/style';
import { BlockSurface } from '@/components/klarhimmel/blocks/surface';
import CareersDetail from '@/components/klarhimmel/blocks/careers-detail';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <CareersDetail props={{
          "eyebrow": "Name the team",
          "title": "Name the role and its level",
          "description": "Say in one or two sentences what they will own, for whom, and how far their work reaches in the company.",
          "facts": [
            {
              "label": "Fact one",
              "value": "Name the team"
            },
            {
              "label": "Fact two",
              "value": "Say where it is based, or remote"
            },
            {
              "label": "Fact three",
              "value": "Contract type"
            }
          ],
          "doTitle": "Say what they will do",
          "doItems": [
            "Say what they will own, from start to finish, and who they work with",
            "Say a quality they will keep high, briefly",
            "Say a habit they will keep, in one line"
          ],
          "haveTitle": "Say what they bring",
          "haveItems": [
            "Say the experience they bring",
            "Say which skills they bring and how broad they are",
            "Say a trait they bring, in one line"
          ],
          "process": "Say in two sentences what the steps are and how fast they hear back after each one.",
          "apply": {
            "label": "Main action",
            "href": "#apply"
          },
          "ask": {
            "label": "Second action",
            "href": "#ask"
          }
        }} />
      </BlockSurface>
    </Theme>
  );
}

Props

The type, default and text limit of every prop. On a real page, over-limit text is kept and checkSections flags it (Installation, Check a page before you ship); this live preview shows the default until it fits. The panel above edits all props.

PropTypeDefaultDescription
eyebrowstring'Name the team'Text, up to 60 characters.
titlestring'Name the role and its level'Text, up to 120 characters.
descriptionstring'Say in one or two sentences what th…'Text, up to 300 characters.
facts{ label, value }[]4 itemsList of 2 to 5. Each item: label, value.
doTitlestring'Say what they will do'Text, up to 60 characters.
doItemsstring[]3 itemsList of 2 to 6.
haveTitlestring'Say what they bring'Text, up to 60 characters.
haveItemsstring[]3 itemsList of 2 to 6.
processstring'Say in two sentences what the steps…'Text, up to 240 characters. Optional; empty is not rendered.
applyLink{…}See the type.
askLink{…}See the type.
headingLevel'1' | '2'-One of '1', '2'. Optional; empty is not rendered.