{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-section",
  "type": "registry:item",
  "title": "Hero Section",
  "description": "The top of a landing page: a short eyebrow line, the headline, a sentence under it, the main actions, and a picture or demo beside (or under) it. Side by side when there's room, stacked when there isn't (by its own width). `align` is start or center.",
  "dependencies": [
    "@zubra/runtime@^5.13.1"
  ],
  "categories": [
    "section"
  ],
  "registryDependencies": [
    "https://zubra-js.github.io/zubra-ui/r/theme.json"
  ],
  "files": [
    {
      "path": "components/hero-section.js",
      "type": "registry:file",
      "target": "~/src/components/zubra/hero-section.js",
      "content": "// Generated by zubra from hero-section.zb. Do not edit.\nimport { $define, $r, $t } from \"@zubra/runtime\";\nimport { hasSlot } from '@zubra/runtime';\n\nexport const tag = \"hero-section\";\n\nexport default $define(tag, {\n  props: {\n    \"eyebrow\": { attribute: \"eyebrow\", default: \"\", required: false },\n    \"heading\": { attribute: \"heading\", default: \"\", required: false },\n    \"align\": { attribute: \"align\", default: \"start\", required: false },\n  },\n  abi: 3,\n  shadow: false,\n  form: false,\n  slots: [\"actions\", \"default\", \"heading\", \"media\"],\n  events: [],\n  styled: true,\n  styles: \"@layer theme, base, components, utilities;\\n@layer components {\\n@scope (hero-section) to ([data-zb-slotted=\\\"hero-section\\\"]) {\\n  :scope { display: block; container-type: inline-size; }\\n  .hero { display: grid; gap: 2rem; align-items: center; padding: clamp(2rem, 6cqi, 5rem) clamp(1rem, 4cqi, 3rem); }\\n  .hero-center { justify-items: center; text-align: center; }\\n  @container (min-width: 48rem) { .hero-media { grid-template-columns: 1.1fr 1fr; } }\\n  .hero-copy { display: grid; gap: 1rem; max-width: 40rem; }\\n  .hero-center .hero-copy { justify-items: center; }\\n  .hero-eyebrow { justify-self: start; padding: 0.2rem 0.7rem; border: 1px solid var(--border, #e4e4e7); border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: color-mix(in oklab, var(--muted-foreground, #71717a) 70%, var(--foreground, #18181b)); }\\n  .hero-center .hero-eyebrow { justify-self: center; }\\n  h1 { margin: 0; font-size: clamp(2rem, 5.5cqi, 3.5rem); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }\\n  .hero-text { margin: 0; font-size: clamp(1rem, 2cqi, 1.2rem); text-wrap: pretty; color: color-mix(in oklab, var(--muted-foreground, #71717a) 70%, var(--foreground, #18181b)); }\\n  .hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }\\n  .hero-center .hero-actions { justify-content: center; }\\n  .hero-art { min-width: 0; }\\n}\\n}\\n\",\n  template: \"\\n  <section class=\\\"hero\\\">\\n    <div class=\\\"hero-copy\\\">\\n      <!--[--><!--]-->\\n      <h1><!--[--><!--]--></h1>\\n      <div class=\\\"hero-text\\\"><!--[--><!--]--></div>\\n      <!--[--><!--]-->\\n    </div>\\n    <!--[--><!--]-->\\n  </section>\\n\",\n  setup($p, $emit) {\n                                          \n                                          \n\n  const media = hasSlot('media')\n  const actions = hasSlot('actions')\n    return [\n      { path: [0], toggle: \"hero-center\", value: () => ($p.align === \"center\") },\n      { path: [0], toggle: \"hero-media\", value: () => $r(media) },\n      { path: [0, 0, 0], when: () => $p.eyebrow, blocks: [{ template: \"<span class=\\\"hero-eyebrow\\\"></span>\", parts: () => [{ path: [0], text: () => $t($p.eyebrow) }] }, null] },\n      { path: [0, 0, 1, 0], slot: \"heading\", fallback: { template: \"<!---->\", parts: () => [{ path: [0], anchor: () => $t($p.heading) }] } },\n      { path: [0, 0, 2, 0], slot: \"default\", fallback: null },\n      { path: [0, 0, 3], when: () => $r(actions), blocks: [{ template: \"<div class=\\\"hero-actions\\\"><!--[--><!--]--></div>\", parts: () => [{ path: [0, 0], slot: \"actions\", fallback: null }] }, null] },\n      { path: [0, 1], when: () => $r(media), blocks: [{ template: \"<div class=\\\"hero-art\\\"><!--[--><!--]--></div>\", parts: () => [{ path: [0, 0], slot: \"media\", fallback: null }] }, null] },\n    ];\n  },\n});\n"
    }
  ]
}
