{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "stretch-index-careers-demo",
  "type": "registry:block",
  "title": "Stretch Index: Open Roles",
  "description": "Hover Accordion List example, Open Roles: A careers page with `openOn=\"click\"` and `numbered={false}`: rows open like an accordion, a second click closes them, and the Apply link inside stays clickable. In a narrow frame the team and place move under the title. A take on the hover list (list hover) and accordion (collapsible). Fits testimonials, team, careers, portfolio and blog sections.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "testimonials",
    "team",
    "careers",
    "portfolio",
    "blog",
    "hover-list",
    "accordion",
    "image-reveal",
    "list",
    "hover",
    "layout"
  ],
  "docs": "Live preview, examples and props: https://keyframeui.com/components/stretch-index#stretch-index-careers-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/stretch-index.json"
  ],
  "files": [
    {
      "path": "components/stretch-index-careers-demo.tsx",
      "type": "registry:component",
      "content": "import { StretchIndex, StretchIndexItem } from \"@/components/ui/stretch-index\";\n\nconst roles = [\n  {\n    title: \"Senior Product Designer\",\n    team: \"Design\",\n    place: \"Remote, Europe\",\n    text: \"Own the editor from the first sketch to the release notes. You'll pair with two engineers and talk to customers every week.\",\n    pay: \"€85–105k\",\n    photo: \"1572044162444-ad60f128bdea\",\n    accent: \"#ec6fa8\",\n  },\n  {\n    title: \"Design Engineer\",\n    team: \"Design\",\n    place: \"Lisbon or remote\",\n    text: \"Build the components our designers draw, and the motion that makes them feel right. React, TypeScript and a good eye.\",\n    pay: \"€80–100k\",\n    photo: \"1586717791821-3f44a563fa4c\",\n    accent: \"#9b87f5\",\n  },\n  {\n    title: \"Staff Backend Engineer\",\n    team: \"Engineering\",\n    place: \"Lisbon\",\n    text: \"Scale the sync engine that keeps 40,000 teams' documents in step. Go, Postgres, and careful thinking about conflicts.\",\n    pay: \"€110–135k\",\n    photo: \"1499750310107-5fef28a66643\",\n    accent: \"#3ba7e0\",\n  },\n  {\n    title: \"Product Manager, Billing\",\n    team: \"Product\",\n    place: \"Remote, Europe\",\n    text: \"Make paying us the easiest part of using us: plans, invoices, taxes in 30 countries, and the emails nobody wants to get.\",\n    pay: \"€90–110k\",\n    photo: \"1497032628192-86f99bcd76bc\",\n    accent: \"#2fb383\",\n  },\n  {\n    title: \"Support Lead\",\n    team: \"Operations\",\n    place: \"Lisbon\",\n    text: \"Lead the six people who answer every ticket within four hours, and turn what you hear into fixes on the roadmap.\",\n    pay: \"€60–72k\",\n    photo: \"1585208798174-6cedd86e019a\",\n    accent: \"#e5a72e\",\n  },\n];\n\nconst photo = (id: string) =>\n  `https://images.unsplash.com/photo-${id}?auto=format&fit=crop&w=480&h=360&q=80`;\n\nconst slug = (title: string) => title.toLowerCase().replace(/[^a-z0-9]+/g, \"-\");\n\nexport function StretchIndexCareersDemo() {\n  return (\n    <section className=\"w-full max-w-3xl text-zinc-900 dark:text-zinc-50\">\n      <div className=\"mb-6 flex items-end justify-between gap-4\">\n        <h3 className=\"text-2xl font-semibold tracking-tight\">Open roles</h3>\n        <p className=\"font-mono text-xs text-zinc-500 tabular-nums\">{roles.length} positions</p>\n      </div>\n\n      <StretchIndex openOn=\"click\" numbered={false} className=\"border-t border-current/10\">\n        {roles.map((role) => (\n          <StretchIndexItem\n            key={role.title}\n            title={role.title}\n            meta={`${role.team} · ${role.place}`}\n            image={photo(role.photo)}\n            accent={role.accent}\n          >\n            <p className=\"max-w-md text-pretty text-zinc-600 dark:text-zinc-400\">{role.text}</p>\n            <div className=\"mt-3 flex flex-wrap items-center gap-x-4 gap-y-2 text-sm\">\n              <a\n                href={`#apply-${slug(role.title)}`}\n                className=\"inline-flex h-8 items-center gap-1.5 rounded-full bg-zinc-900 px-3.5 font-medium text-white outline-none hover:bg-zinc-700 focus-visible:ring-2 focus-visible:ring-zinc-900 focus-visible:ring-offset-2 dark:bg-zinc-50 dark:text-zinc-900 dark:hover:bg-zinc-300 dark:focus-visible:ring-zinc-50 dark:focus-visible:ring-offset-zinc-950\"\n              >\n                Apply <span aria-hidden>→</span>\n              </a>\n              <span className=\"text-zinc-500 tabular-nums\">{role.pay}</span>\n            </div>\n          </StretchIndexItem>\n        ))}\n      </StretchIndex>\n    </section>\n  );\n}\n"
    }
  ]
}