{
  "component": {
    "id": "testimonial-grid",
    "name": "Testimonial grid",
    "tier": "pro",
    "exampleId": "testimonial-grid",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/testimonial-grid-demo.tsx",
    "exportName": "TestimonialGridDemo",
    "sha256": "3acf29e8ccd11b61b7cdbd12ca375f8b265d3a21641c00cab90b8bfd6001e19e",
    "helperImports": [],
    "directComponentImports": [
      "testimonial-grid"
    ],
    "sampleBoundary": "Existing local demo fixture with fictional data and callbacks. No live service, customer data, access key, or Pro source is included."
  },
  "install": {
    "command": "npx shadcn@latest add @tidal-pro/testimonial-grid",
    "registryUrl": "https://tidalui.com/r/pro/testimonial-grid.json",
    "namespace": "@tidal-pro",
    "access": "pro",
    "sourceDelivery": "server-gated",
    "requiresAuthorization": true,
    "tokenSource": "local-env",
    "tokenEnvName": "TIDALUI_TOKEN",
    "cli": {
      "package": "shadcn",
      "requested": "latest"
    }
  },
  "installPlan": [
    {
      "order": 1,
      "kind": "primary",
      "dependency": "@tidal-pro/testimonial-grid",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/testimonial-grid",
      "registryUrl": "https://tidalui.com/r/pro/testimonial-grid.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    }
  ],
  "imports": {
    "componentPath": "components/ui/testimonial-grid.tsx",
    "exports": [
      "TidalTestimonialGrid",
      "TidalTestimonialGridItem"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/testimonial-grid.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [
      "lucide-react"
    ],
    "registry": [],
    "additionalRegistry": [],
    "installClosure": [
      "testimonial-grid"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/testimonial-grid.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/testimonial-grid.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [
      "src/testimonial-grid-demo.css"
    ],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "import \"./components/ui/tidal.css\";\n\nimport { ShieldCheck } from \"lucide-react\";\n\nimport { TidalTestimonialGrid, type TidalTestimonialGridItem } from \"./components/ui/testimonial-grid\";\n\nimport \"./components/ui/testimonial-grid.css\";\n\nfunction tidalExampleAvatarDataUri(seed: unknown) {\n  const text = String(seed).replace(/[^a-z0-9]/gi, \"\").slice(-2) || \"UI\";\n  const palette = [\"#333333\", \"#555555\", \"#777777\", \"#999999\", \"#bbbbbb\"];\n  const color = palette[Array.from(text).reduce((sum, character) => sum + character.charCodeAt(0), 0) % palette.length];\n  const svg = `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 96 96\"><rect width=\"96\" height=\"96\" rx=\"48\" fill=\"${color}\"/><circle cx=\"48\" cy=\"38\" r=\"17\" fill=\"white\" fill-opacity=\".92\"/><path d=\"M18 92c3-22 15-34 30-34s27 12 30 34\" fill=\"white\" fill-opacity=\".92\"/></svg>`;\n  return `data:image/svg+xml,${encodeURIComponent(svg)}`;\n}\n\nfunction tidalExampleImageDataUri(label: string) {\n  const safeLabel = label.replace(/[<>&]/g, \"\").slice(0, 28) || \"Sample image\";\n  const svg = `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1200 675\"><defs><linearGradient id=\"g\" x1=\"0\" x2=\"1\" y1=\"0\" y2=\"1\"><stop stop-color=\"#171717\"/><stop offset=\"1\" stop-color=\"#555555\"/></linearGradient></defs><rect width=\"1200\" height=\"675\" fill=\"url(#g)\"/><circle cx=\"950\" cy=\"100\" r=\"260\" fill=\"white\" fill-opacity=\".08\"/><text x=\"80\" y=\"570\" fill=\"white\" font-family=\"system-ui,sans-serif\" font-size=\"64\" font-weight=\"700\">${safeLabel}</text></svg>`;\n  return `data:image/svg+xml,${encodeURIComponent(svg)}`;\n}\n\nconst tidalExampleStyles = \".tidal-scope .testimonial-grid-demo {\\n  width: 100%;\\n  max-width: 1120px;\\n  min-width: 0;\\n  padding: 29px;\\n  border: 1px solid var(--t-border);\\n  border-radius: 18px;\\n  background:\\n    linear-gradient(var(--t-border) 1px, transparent 1px),\\n    linear-gradient(90deg, var(--t-border) 1px, transparent 1px),\\n    var(--t-subtle);\\n  background-size: 24px 24px;\\n  color: var(--t-ink);\\n  container-type: inline-size;\\n}\\n\\n.tidal-scope .testimonial-grid-demo,\\n.tidal-scope .testimonial-grid-demo * {\\n  box-sizing: border-box;\\n}\\n\\n.tidal-scope .testimonial-grid-demo-layout {\\n  min-width: 0;\\n}\\n\\n.tidal-scope\\n  .testimonial-grid-demo\\n  > .testimonial-grid-demo-layout\\n  > .tidal-testimonial-grid {\\n  max-width: none;\\n}\\n\\n.tidal-scope .testimonial-grid-demo-note {\\n  display: flex;\\n  align-items: flex-start;\\n  gap: 11px;\\n  min-width: 0;\\n  margin-top: 15px;\\n  padding: 15px 16px;\\n  border: 1px solid var(--t-border);\\n  border-radius: 10px;\\n  background: var(--t-surface);\\n  color: var(--t-ink);\\n  scroll-margin-block: 18px;\\n}\\n\\n.tidal-scope .testimonial-grid-demo-note > span {\\n  display: grid;\\n  width: 34px;\\n  height: 34px;\\n  flex: none;\\n  place-items: center;\\n  border-radius: 9px;\\n  background: var(--t-ink);\\n  color: var(--t-surface);\\n}\\n\\n.tidal-scope .testimonial-grid-demo-note > div {\\n  min-width: 0;\\n}\\n\\n.tidal-scope .testimonial-grid-demo-note strong {\\n  display: block;\\n  font-size: 11px;\\n  font-weight: 650;\\n  line-height: 1.4;\\n}\\n\\n.tidal-scope .testimonial-grid-demo-note p {\\n  margin: 4px 0 0;\\n  color: var(--t-muted);\\n  font-size: 11px;\\n  line-height: 1.55;\\n  overflow-wrap: anywhere;\\n}\\n\\n@container (max-width: 520px) {\\n  .tidal-scope .testimonial-grid-demo-layout {\\n    padding: 0;\\n  }\\n\\n  .tidal-scope .testimonial-grid-demo-note {\\n    padding: 13px;\\n  }\\n}\\n\\n@media (max-width: 390px) {\\n  .tidal-scope .testimonial-grid-demo {\\n    padding: 11px;\\n    background-size: 18px 18px;\\n  }\\n}\\n\\n@media (prefers-reduced-motion: no-preference) {\\n  .tidal-scope .testimonial-grid-demo-note {\\n    animation: testimonial-grid-demo-note-enter 430ms var(--t-ease-out) 380ms\\n      both;\\n  }\\n}\\n\\n@keyframes testimonial-grid-demo-note-enter {\\n  from {\\n    opacity: 0;\\n    transform: translateY(7px);\\n  }\\n  to {\\n    opacity: 1;\\n    transform: none;\\n  }\\n}\";\n\nconst SAMPLE_TESTIMONIALS = [\n  {\n    id: \"sample-avery\",\n    quote:\n      \"The review path stayed clear from the first draft through the final handoff.\",\n    name: \"Avery Cole\",\n    role: \"Product lead\",\n    organization: \"Sample product team\",\n    avatar: { src: tidalExampleAvatarDataUri(\"01\"), alt: \"\" },\n    context: \"Fictional sample\",\n    featured: true,\n    source: {\n      label: \"Read sample disclosure\",\n      href: \"#testimonial-grid-demo-note\",\n    },\n  },\n  {\n    id: \"sample-mira\",\n    quote:\n      \"Each decision had enough context for the next person to keep moving.\",\n    name: \"Mira Lawson\",\n    role: \"Design director\",\n    organization: \"Sample design team\",\n    avatar: { src: tidalExampleAvatarDataUri(\"02\"), alt: \"\" },\n    context: \"Fictional sample\",\n  },\n  {\n    id: \"sample-jonah\",\n    quote: \"The interface made the important next step easy to recognize.\",\n    name: \"Jonah Reed\",\n    role: \"Operations lead\",\n    organization: \"Sample operations team\",\n    avatar: { src: tidalExampleAvatarDataUri(\"03\"), alt: \"\" },\n    context: \"Fictional sample\",\n  },\n  {\n    id: \"sample-sana\",\n    quote: \"We could discuss the work without translating the screen first.\",\n    name: \"Sana Bell\",\n    role: \"Research lead\",\n    organization: \"Sample research team\",\n    avatar: { src: tidalExampleAvatarDataUri(\"04\"), alt: \"\" },\n    context: \"Fictional sample\",\n  },\n  {\n    id: \"sample-elliot\",\n    quote: \"The component held its hierarchy even when our copy became longer.\",\n    name: \"Elliot Park\",\n    role: \"Content designer\",\n    organization: \"Sample content team\",\n    avatar: { src: tidalExampleAvatarDataUri(\"05\"), alt: \"\" },\n    context: \"Fictional sample\",\n  },\n  {\n    id: \"sample-nia\",\n    quote:\n      \"The details felt considered while the interaction remained familiar.\",\n    name: \"Nia Foster\",\n    role: \"Frontend lead\",\n    organization: \"Sample engineering team\",\n    avatar: { src: tidalExampleAvatarDataUri(\"06\"), alt: \"\" },\n    context: \"Fictional sample\",\n  },\n] satisfies readonly TidalTestimonialGridItem[];\n\nexport function TestimonialGridDemo() {\n  return (\n    <section className=\"testimonial-grid-demo\">\n      <div className=\"testimonial-grid-demo-layout\">\n        <TidalTestimonialGrid\n          title=\"Team feedback\"\n          description=\"This preview uses fictional people and statements to demonstrate hierarchy, responsive layout, and native source links.\"\n          items={SAMPLE_TESTIMONIALS}\n          action={{\n            label: \"About this sample\",\n            href: \"#testimonial-grid-demo-note\",\n          }}\n        />\n\n        <aside\n          id=\"testimonial-grid-demo-note\"\n          className=\"testimonial-grid-demo-note\"\n          aria-label=\"Sample content disclosure\"\n        >\n          <span aria-hidden=\"true\">\n            <ShieldCheck size={17} />\n          </span>\n          <div>\n            <strong>Fictional sample content</strong>\n            <p>\n              These names, teams, roles, and statements are invented for this\n              local layout preview. They do not represent customers,\n              endorsements, or measured results.\n            </p>\n          </div>\n        </aside>\n      </div>\n    </section>\n  );\n}\n\nexport default function AgentExample() {\n  return (\n    <div className=\"tidal-scope\" data-theme=\"light\" dir=\"ltr\">\n      <style>{tidalExampleStyles}</style>\n      <TestimonialGridDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/testimonial-grid.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [],
  "events": [],
  "nativeForm": {
    "participates": true,
    "names": [],
    "expectedFormData": {},
    "submitBehavior": "The existing demo's native form callback receives the submit event.",
    "resetBehavior": "Native reset behavior remains available where the demo renders a resettable control.",
    "disabledBehavior": "Disabled controls remain excluded from successful native form submission.",
    "readOnlyBehavior": "Read-only controls retain their value and remain inspectable by the consumer."
  },
  "accessibility": {
    "labelSource": "Existing demo label or ARIA prop",
    "semantics": "Preserve the component's native element and the semantics demonstrated by the source fixture.",
    "keyboard": [
      "Tab and Shift+Tab",
      "Enter or Space for native activation",
      "Arrow keys where the component exposes a composite control"
    ],
    "focusReturn": "Preserve browser focus order and visible focus.",
    "errorAnnouncement": "No error announcement path is present in this demo; the consumer owns validation messaging.",
    "reducedMotion": "Verify prefers-reduced-motion with the existing component transition path.",
    "forcedColors": "Verify visible borders, text, and focus in forced-colors mode."
  },
  "responsive": {
    "widths": [
      320,
      390,
      768,
      1260
    ],
    "shortViewport": "Check the example at a 300px viewport height with keyboard or portal content visible.",
    "overflow": "The page should not gain horizontal overflow; component-local scrolling must remain intentional.",
    "touchTargetMinPx": 44,
    "coarseInputFontPx": 16
  },
  "errors": [
    {
      "fixture": "Exercise the existing demo's error, empty, loading, or invalid fixture.",
      "visibleResult": "The consumer-visible result must remain explicit and must not be replaced by a silent console error.",
      "focusResult": "Focus must remain on the triggering control or move to the announced error according to the native pattern.",
      "ownership": "Consumer-owned sample state only; no network request or customer data is used."
    }
  ],
  "verification": {
    "commands": [
      "npx tsc --noEmit",
      "npx vite build"
    ],
    "lockfile": "Use the consumer project's committed lockfile.",
    "browser": [
      "Chromium 1260x800",
      "Chromium 390x844",
      "Keyboard and reduced-motion pass"
    ]
  },
  "validation": {
    "consumerFixture": {
      "tsc": "pass",
      "viteBuild": "pass",
      "resourceModel": "Generated usage plus only the component files and CSS delivered by the primary item and listed registry dependencies."
    },
    "registryArtifact": "server-gated"
  },
  "exceptions": []
}
