{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "relay-carousel-demo",
  "type": "registry:block",
  "title": "Relay Carousel: Customer Stories",
  "description": "Testimonial Carousel example, Customer Stories: Workshop owners on the invoicing app they run their shop on. It plays by itself and holds while you point at it; pull the strip, use the arrows or click a card to pass the lead. A take on the carousel (slider). Fits testimonials, team, careers, events and features sections.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "testimonials",
    "team",
    "careers",
    "events",
    "features",
    "carousel",
    "motion"
  ],
  "docs": "Live preview, examples and props: https://keyframeui.com/components/relay-carousel#relay-carousel-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/relay-carousel.json"
  ],
  "files": [
    {
      "path": "components/relay-carousel-demo.tsx",
      "type": "registry:component",
      "content": "import { RelayCarousel, RelayCarouselItem } from \"@/components/ui/relay-carousel\";\n\nconst makers = [\n  {\n    name: \"Joaquim Carvalho\",\n    role: \"Ceramicist, Barro Studio\",\n    label: \"Ceramics · Porto\",\n    quote:\n      \"I used to spend Sunday nights matching invoices to kiln loads. Now an order comes in and the glaze stock counts itself down.\",\n    photo: \"1753164725926-dc4de5911e61\",\n    alt: \"A bearded potter in a clay-streaked apron raising a tall vase on the wheel\",\n  },\n  {\n    name: \"Tomasz Wiśniewski\",\n    role: \"Owner, Kruszon Bakery\",\n    label: \"Bakery · Kraków\",\n    quote:\n      \"Our cafés reorder from a link I sent them once. I know what to bake tomorrow before the ovens have cooled down.\",\n    photo: \"1772758632504-361aa9d14a19\",\n    alt: \"A baker sliding flatbreads into a brick oven, rounds of dough waiting in front\",\n  },\n  {\n    name: \"Gareth Lloyd\",\n    role: \"Woodcarver, Grain & Gauge\",\n    label: \"Woodwork · Leeds\",\n    quote:\n      \"Every commission keeps its timber, hours and deposit on one page. Quoting a carved panel takes ten minutes, not an evening.\",\n    photo: \"1783669081274-3db07e6ec196\",\n    alt: \"A woodcarver chiseling a relief panel at a cluttered bench under a desk lamp\",\n  },\n  {\n    name: \"Kenji Arai\",\n    role: \"Roaster, Hiraku Coffee\",\n    label: \"Coffee · Osaka\",\n    quote:\n      \"Green beans, roast days and wholesale orders finally talk to each other. I buy sacks when the numbers say so, not when I panic.\",\n    photo: \"1607681034512-1c9c5fbda608\",\n    alt: \"A roaster in ear defenders checking freshly roasted beans under a magnifier lamp\",\n  },\n  {\n    name: \"Lena Hoffmann\",\n    role: \"Florist, Stiel\",\n    label: \"Flowers · Leipzig\",\n    quote:\n      \"Wedding season used to live on sticky notes. This year every bouquet had its stems, its order and its invoice before the bride did.\",\n    photo: \"1531058240690-006c446962d8\",\n    alt: \"A florist at the counter of her flower shop, seen through the plants\",\n  },\n  {\n    name: \"Idris Hale\",\n    role: \"Leatherworker, Hale & Hide\",\n    label: \"Leather · Bristol\",\n    quote:\n      \"Custom orders, hides and the balance owed sit on the same screen. I've stopped losing deposits in the gap between them.\",\n    photo: \"1534126511673-b6899657816a\",\n    alt: \"A craftsman stitching a leather strap on an industrial sewing machine\",\n  },\n  {\n    name: \"Rafael Moreno\",\n    role: \"Mechanic, Cadena Cycles\",\n    label: \"Repairs · Valencia\",\n    quote:\n      \"Customers get a message when their bike is ready and pay from the link. My bench stays clear, and so does my inbox.\",\n    photo: \"1675798227643-da319f8ee8f7\",\n    alt: \"A mechanic's hands tightening the crank on a black bicycle frame\",\n  },\n  {\n    name: \"Ewan MacLeod\",\n    role: \"Printer, Low Tide Press\",\n    label: \"Screen print · Edinburgh\",\n    quote:\n      \"A poster run has twelve proofs and three deposits. Field & Fold keeps all of it straight, so I can keep my hands inky.\",\n    photo: \"1456456496250-d5e7c0a9b44d\",\n    alt: \"A printmaker pulling ink across a silkscreen by the window\",\n  },\n];\n\nconst photo = (id: string) =>\n  `https://images.unsplash.com/photo-${id}?auto=format&fit=crop&w=880&h=840&q=80`;\n\nexport function RelayCarouselDemo() {\n  return (\n    <div className=\"flex min-h-[var(--demo-height,auto)] w-full flex-col justify-center overflow-hidden rounded-2xl border border-zinc-200 bg-white py-14 text-zinc-950 sm:py-20 dark:border-zinc-800 dark:bg-zinc-950 dark:text-zinc-50\">\n      <RelayCarousel\n        aria-labelledby=\"relay-makers-heading\"\n        autoPlay={7000}\n        heading={\n          <h2\n            id=\"relay-makers-heading\"\n            className=\"text-[2rem] leading-[1.02] font-semibold tracking-[-0.035em] text-balance @2xl:text-5xl\"\n          >\n            Small shops,\n            <br />\n            <span className=\"text-zinc-400 dark:text-zinc-500\">steady books.</span>\n          </h2>\n        }\n      >\n        {makers.map((maker) => (\n          <RelayCarouselItem\n            key={maker.name}\n            name={maker.name}\n            role={maker.role}\n            label={maker.label}\n            quote={maker.quote}\n            image={photo(maker.photo)}\n            alt={maker.alt}\n          />\n        ))}\n      </RelayCarousel>\n    </div>\n  );\n}\n"
    }
  ]
}