{
  "component": {
    "id": "feature-grid",
    "name": "Feature grid",
    "tier": "pro",
    "exampleId": "feature-grid",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/feature-grid-demo.tsx",
    "exportName": "FeatureGridDemo",
    "sha256": "f31b7d65d4ec7ec5b92ee0ae922e0fb27f4f0d91b6f4bc4e197912223494cbc5",
    "helperImports": [],
    "directComponentImports": [
      "feature-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/feature-grid",
    "registryUrl": "https://tidalui.com/r/pro/feature-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/feature-grid",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/feature-grid",
      "registryUrl": "https://tidalui.com/r/pro/feature-grid.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    }
  ],
  "imports": {
    "componentPath": "components/ui/feature-grid.tsx",
    "exports": [
      "TidalFeatureAction",
      "TidalFeatureCard",
      "TidalFeatureGrid"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/feature-grid.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [
      "lucide-react"
    ],
    "registry": [],
    "additionalRegistry": [],
    "installClosure": [
      "feature-grid"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/feature-grid.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/feature-grid.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [
      "src/feature-grid-demo.css"
    ],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "import \"./components/ui/tidal.css\";\n\nimport { useMemo, useState } from \"react\";\n\nimport { ArrowRight, Check, Clock3, Eye, ListChecks, LockKeyhole, RefreshCw, Sparkles, UsersRound } from \"lucide-react\";\n\nimport { TidalFeatureAction, TidalFeatureCard, TidalFeatureGrid } from \"./components/ui/feature-grid\";\n\nimport \"./components/ui/feature-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 .feature-grid-demo-specimen {\\n  position: relative;\\n  width: 100%;\\n  min-width: 0;\\n  padding: clamp(18px, 4vw, 52px);\\n  color: var(--t-ink);\\n  background: var(--t-subtle);\\n  border: 1px solid var(--t-border);\\n  border-radius: var(--t-radius-card);\\n  container: feature-grid-demo / inline-size;\\n}\\n\\n.tidal-scope .feature-grid-demo-tabs,\\n.tidal-scope .feature-grid-demo-filters {\\n  display: flex;\\n  flex-wrap: wrap;\\n  gap: 4px;\\n  padding: 4px;\\n  background: var(--feature-subtle);\\n  border: 1px solid var(--feature-border);\\n  border-radius: 12px;\\n}\\n\\n.tidal-scope .feature-grid-demo-tabs button,\\n.tidal-scope .feature-grid-demo-filters button {\\n  position: relative;\\n  flex: 1 1 70px;\\n  min-width: 44px;\\n  min-height: 44px;\\n  padding: 8px 11px;\\n  color: var(--feature-muted);\\n  font: inherit;\\n  font-size: 11px;\\n  font-weight: 620;\\n  background: transparent;\\n  border: 0;\\n  border-radius: 8px;\\n  cursor: pointer;\\n  transition:\\n    color 180ms,\\n    background 180ms,\\n    transform 140ms var(--t-ease-out);\\n}\\n\\n.tidal-scope .feature-grid-demo-tabs button[aria-pressed=\\\"true\\\"],\\n.tidal-scope .feature-grid-demo-filters button[aria-pressed=\\\"true\\\"] {\\n  color: var(--feature-surface);\\n  background: var(--feature-ink);\\n}\\n\\n.tidal-scope .feature-grid-demo-tabs button:hover,\\n.tidal-scope .feature-grid-demo-filters button:hover {\\n  color: var(--feature-ink);\\n}\\n\\n.tidal-scope .feature-grid-demo-tabs button:active,\\n.tidal-scope .feature-grid-demo-filters button:active {\\n  transform: scale(0.97);\\n}\\n\\n.tidal-scope .feature-grid-demo-tabs button:focus-visible,\\n.tidal-scope .feature-grid-demo-filters button:focus-visible,\\n.tidal-scope .feature-grid-demo-checklist input:focus-visible + span,\\n.tidal-scope .feature-grid-demo-switch input:focus-visible ~ i {\\n  outline: 2px solid var(--feature-ink);\\n  outline-offset: 2px;\\n}\\n\\n.tidal-scope .feature-grid-demo-timeline {\\n  display: grid;\\n  gap: 0;\\n  min-width: 0;\\n  margin: 18px 0 0;\\n  padding: 0;\\n  list-style: none;\\n  border-top: 1px solid var(--feature-border);\\n}\\n\\n.tidal-scope .feature-grid-demo-timeline li {\\n  display: grid;\\n  grid-template-columns: 34px minmax(0, 1fr) auto;\\n  align-items: center;\\n  gap: 12px;\\n  min-width: 0;\\n  min-height: 54px;\\n  border-bottom: 1px solid var(--feature-border);\\n}\\n\\n.tidal-scope .feature-grid-demo-timeline li > span,\\n.tidal-scope .feature-grid-demo-timeline li > small {\\n  color: var(--feature-muted);\\n  font-size: 11px;\\n  font-variant-numeric: tabular-nums;\\n}\\n\\n.tidal-scope .feature-grid-demo-timeline li > strong {\\n  min-width: 0;\\n  color: var(--feature-ink);\\n  font-size: 12px;\\n  font-weight: 560;\\n  overflow-wrap: anywhere;\\n}\\n\\n.tidal-scope .feature-grid-demo-timeline li > small {\\n  padding: 4px 7px;\\n  color: var(--feature-ink);\\n  background: var(--feature-wash);\\n  border-radius: 999px;\\n}\\n\\n.tidal-scope .feature-grid-demo-readiness .tidal-feature-card-content {\\n  position: relative;\\n}\\n\\n.tidal-scope .feature-grid-demo-progress {\\n  height: 8px;\\n  overflow: hidden;\\n  background: var(--feature-wash);\\n  border-radius: 999px;\\n}\\n\\n.tidal-scope .feature-grid-demo-progress > span {\\n  display: block;\\n  height: 100%;\\n  background: var(--feature-ink);\\n  border-radius: inherit;\\n  transition: width 420ms var(--t-ease-out);\\n}\\n\\n.tidal-scope .feature-grid-demo-progress-label {\\n  display: block;\\n  margin-top: 10px;\\n  color: var(--feature-muted);\\n  font-size: 11px;\\n  font-weight: 550;\\n  font-variant-numeric: tabular-nums;\\n}\\n\\n.tidal-scope .feature-grid-demo-checklist {\\n  display: grid;\\n  gap: 7px;\\n  margin-top: 24px;\\n}\\n\\n.tidal-scope .feature-grid-demo-checklist label {\\n  position: relative;\\n  display: grid;\\n  grid-template-columns: 44px minmax(0, 1fr) auto;\\n  align-items: center;\\n  min-width: 0;\\n  min-height: 52px;\\n  padding-inline-end: 12px;\\n  color: var(--feature-muted);\\n  background: var(--feature-subtle);\\n  border: 1px solid var(--feature-border);\\n  border-radius: 11px;\\n  cursor: pointer;\\n}\\n\\n.tidal-scope .feature-grid-demo-checklist input,\\n.tidal-scope .feature-grid-demo-switch input {\\n  position: absolute;\\n  inset: 0;\\n  z-index: 1;\\n  width: 100%;\\n  height: 100%;\\n  margin: 0;\\n  opacity: 0;\\n  cursor: pointer;\\n}\\n\\n.tidal-scope .feature-grid-demo-checklist label > span {\\n  display: grid;\\n  place-items: center;\\n  width: 44px;\\n  height: 44px;\\n  color: transparent;\\n  transition:\\n    color 180ms,\\n    transform 320ms var(--t-ease-spring);\\n}\\n\\n.tidal-scope .feature-grid-demo-checklist input:checked + span {\\n  color: var(--feature-ink);\\n  transform: rotate(-4deg);\\n}\\n\\n.tidal-scope .feature-grid-demo-checklist label > strong {\\n  min-width: 0;\\n  color: inherit;\\n  font-size: 11px;\\n  font-weight: 550;\\n  overflow-wrap: anywhere;\\n}\\n\\n.tidal-scope .feature-grid-demo-checklist input:checked ~ strong {\\n  color: var(--feature-ink);\\n}\\n\\n.tidal-scope .feature-grid-demo-checklist label > small {\\n  color: inherit;\\n  font-size: 11px;\\n  font-variant-numeric: tabular-nums;\\n}\\n\\n.tidal-scope .feature-grid-demo-orbit {\\n  position: relative;\\n  display: grid;\\n  place-items: center;\\n  width: min(100%, 190px);\\n  aspect-ratio: 1;\\n  margin: auto auto 0;\\n}\\n\\n.tidal-scope .feature-grid-demo-orbit > span {\\n  position: absolute;\\n  width: 72%;\\n  aspect-ratio: 1;\\n  border: 1px solid var(--feature-border);\\n  border-radius: 50%;\\n}\\n\\n.tidal-scope .feature-grid-demo-orbit > span:nth-child(2) {\\n  width: 100%;\\n  border-style: dashed;\\n  transform: rotate(18deg);\\n}\\n\\n.tidal-scope .feature-grid-demo-orbit > svg {\\n  width: 52px;\\n  height: 52px;\\n  padding: 14px;\\n  color: var(--feature-surface);\\n  background: var(--feature-ink);\\n  border-radius: 14px;\\n  box-shadow: 0 18px 32px -22px #000000;\\n}\\n\\n.tidal-scope .feature-grid-demo-switch {\\n  position: relative;\\n  display: grid;\\n  grid-template-columns: minmax(0, 1fr) 52px;\\n  align-items: center;\\n  gap: 14px;\\n  min-width: 0;\\n  min-height: 70px;\\n  padding: 10px 10px 10px 14px;\\n  background: var(--feature-subtle);\\n  border: 1px solid var(--feature-border);\\n  border-radius: 12px;\\n  cursor: pointer;\\n}\\n\\n.tidal-scope .feature-grid-demo-switch > span {\\n  min-width: 0;\\n}\\n\\n.tidal-scope .feature-grid-demo-switch strong,\\n.tidal-scope .feature-grid-demo-switch small {\\n  display: block;\\n  overflow-wrap: anywhere;\\n}\\n\\n.tidal-scope .feature-grid-demo-switch strong {\\n  color: var(--feature-ink);\\n  font-size: 11px;\\n  font-weight: 600;\\n}\\n\\n.tidal-scope .feature-grid-demo-switch small {\\n  margin-top: 4px;\\n  color: var(--feature-muted);\\n  font-size: 11px;\\n  line-height: 1.45;\\n}\\n\\n.tidal-scope .feature-grid-demo-switch > i {\\n  display: flex;\\n  align-items: center;\\n  width: 48px;\\n  height: 30px;\\n  padding: 4px;\\n  background: var(--feature-wash);\\n  border: 1px solid var(--feature-border);\\n  border-radius: 999px;\\n}\\n\\n.tidal-scope .feature-grid-demo-switch > i > span {\\n  width: 20px;\\n  height: 20px;\\n  background: var(--feature-ink);\\n  border-radius: 50%;\\n  transition: transform 320ms var(--t-ease-spring);\\n}\\n\\n.tidal-scope .feature-grid-demo-switch input:checked ~ i > span {\\n  transform: translateX(17px);\\n}\\n\\n[dir=\\\"rtl\\\"] .tidal-scope .feature-grid-demo-switch input:checked ~ i > span,\\n.tidal-scope [dir=\\\"rtl\\\"] .feature-grid-demo-switch input:checked ~ i > span {\\n  transform: translateX(-17px);\\n}\\n\\n.tidal-scope .feature-grid-demo-members {\\n  display: flex;\\n  flex-wrap: wrap;\\n  align-items: center;\\n  gap: 8px;\\n  margin-top: auto;\\n  padding-top: 22px;\\n}\\n\\n.tidal-scope .feature-grid-demo-members > img {\\n  display: block;\\n  width: 34px;\\n  height: 34px;\\n  object-fit: cover;\\n  filter: grayscale(1) contrast(1.04);\\n  border: 1px solid var(--feature-border);\\n  border-radius: 50%;\\n}\\n\\n.tidal-scope .feature-grid-demo-members > strong {\\n  display: inline-flex;\\n  align-items: center;\\n  gap: 6px;\\n  min-width: 0;\\n  color: var(--feature-muted);\\n  font-size: 11px;\\n  font-weight: 520;\\n  overflow-wrap: anywhere;\\n}\\n\\n.tidal-scope .feature-grid-demo-events {\\n  display: grid;\\n  gap: 0;\\n  min-width: 0;\\n  margin: 14px 0 0;\\n  padding: 0;\\n  list-style: none;\\n}\\n\\n.tidal-scope .feature-grid-demo-events li {\\n  display: grid;\\n  grid-template-columns: 9px minmax(0, 1fr);\\n  gap: 10px;\\n  min-width: 0;\\n  padding: 11px 2px;\\n  border-bottom: 1px solid var(--feature-border);\\n}\\n\\n.tidal-scope .feature-grid-demo-events li > span {\\n  width: 7px;\\n  height: 7px;\\n  margin-top: 5px;\\n  background: var(--feature-ink);\\n  border-radius: 50%;\\n}\\n\\n.tidal-scope .feature-grid-demo-events p {\\n  min-width: 0;\\n  margin: 0;\\n  color: var(--feature-muted);\\n  font-size: 11px;\\n  line-height: 1.5;\\n  overflow-wrap: anywhere;\\n}\\n\\n.tidal-scope .feature-grid-demo-activity .tidal-feature-card-footer {\\n  display: flex;\\n}\\n\\n.tidal-scope .feature-grid-demo-status {\\n  position: absolute;\\n  width: 1px;\\n  height: 1px;\\n  margin: -1px;\\n  overflow: hidden;\\n  clip-path: inset(50%);\\n  white-space: nowrap;\\n}\\n\\n@media (prefers-reduced-motion: no-preference) {\\n  .tidal-scope .feature-grid-demo-timeline,\\n  .tidal-scope .feature-grid-demo-events {\\n    animation: feature-grid-demo-content 320ms var(--t-ease-out) both;\\n  }\\n}\\n\\n@keyframes feature-grid-demo-content {\\n  from {\\n    opacity: 0;\\n    transform: translateY(7px);\\n  }\\n  to {\\n    opacity: 1;\\n    transform: none;\\n  }\\n}\\n\\n@container feature-grid-demo (max-width: 430px) {\\n  .tidal-scope .feature-grid-demo-timeline li {\\n    grid-template-columns: 26px minmax(0, 1fr) auto;\\n    gap: 8px;\\n  }\\n\\n  .tidal-scope .feature-grid-demo-orbit {\\n    width: 142px;\\n  }\\n}\\n\\n@media (prefers-reduced-motion: reduce) {\\n  .tidal-scope .feature-grid-demo-tabs button,\\n  .tidal-scope .feature-grid-demo-filters button,\\n  .tidal-scope .feature-grid-demo-progress > span,\\n  .tidal-scope .feature-grid-demo-checklist label > span,\\n  .tidal-scope .feature-grid-demo-switch > i > span,\\n  .tidal-scope .feature-grid-demo-timeline,\\n  .tidal-scope .feature-grid-demo-events {\\n    animation: none;\\n    transition: none;\\n  }\\n\\n  .tidal-scope .feature-grid-demo-tabs button:active,\\n  .tidal-scope .feature-grid-demo-filters button:active,\\n  .tidal-scope .feature-grid-demo-checklist input:checked + span {\\n    transform: none;\\n  }\\n}\";\n\ntype WorkView = \"plan\" | \"build\" | \"review\";\n\ntype ActivityFilter = \"all\" | \"updates\" | \"notes\";\n\nconst views: ReadonlyArray<{\n  id: WorkView;\n  label: string;\n  focus: string;\n  owner: string;\n  time: string;\n  tasks: readonly string[];\n}> = [\n  {\n    id: \"plan\",\n    label: \"Plan\",\n    focus: \"Confirm the release outline\",\n    owner: \"Ava\",\n    time: \"09:30\",\n    tasks: [\"Review scope\", \"Assign draft\", \"Set handoff\"],\n  },\n  {\n    id: \"build\",\n    label: \"Build\",\n    focus: \"Assemble the launch page\",\n    owner: \"Noah\",\n    time: \"11:00\",\n    tasks: [\"Place sections\", \"Connect actions\", \"Check mobile\"],\n  },\n  {\n    id: \"review\",\n    label: \"Review\",\n    focus: \"Complete the final walkthrough\",\n    owner: \"Mila\",\n    time: \"14:15\",\n    tasks: [\"Read every label\", \"Test keyboard\", \"Record decision\"],\n  },\n];\n\nconst milestoneOptions = [\n  { id: \"copy\", label: \"Copy approved\" },\n  { id: \"layout\", label: \"Layout reviewed\" },\n  { id: \"mobile\", label: \"Mobile checked\" },\n] as const;\n\nconst baseActivity = [\n  { id: \"u1\", type: \"updates\", text: \"Noah moved the sample page to review.\" },\n  { id: \"n1\", type: \"notes\", text: \"Mila added a note to the launch outline.\" },\n  { id: \"u2\", type: \"updates\", text: \"Ava confirmed the handoff window.\" },\n] as const;\n\nexport function FeatureGridDemo() {\n  const [view, setView] = useState<WorkView>(\"build\");\n  const [complete, setComplete] = useState<Set<string>>(\n    () => new Set([\"copy\", \"layout\"]),\n  );\n  const [reviewPreview, setReviewPreview] = useState(false);\n  const [filter, setFilter] = useState<ActivityFilter>(\"all\");\n  const [message, setMessage] = useState(\"Build view selected.\");\n\n  const active = views.find((item) => item.id === view) ?? views[0];\n  const progress = Math.round((complete.size / milestoneOptions.length) * 100);\n  const activity = useMemo(() => {\n    const items = reviewPreview\n      ? [\n          {\n            id: \"access\",\n            type: \"updates\" as const,\n            text: \"Local review-link preview turned on. No link was created or shared.\",\n          },\n          ...baseActivity,\n        ]\n      : baseActivity;\n    return filter === \"all\"\n      ? items\n      : items.filter((item) => item.type === filter);\n  }, [filter, reviewPreview]);\n\n  function chooseView(next: WorkView) {\n    setView(next);\n    const selected = views.find((item) => item.id === next);\n    setMessage(`${selected?.label ?? next} view selected.`);\n  }\n\n  function toggleMilestone(id: string, checked: boolean) {\n    setComplete((current) => {\n      const next = new Set(current);\n      if (checked) next.add(id);\n      else next.delete(id);\n      return next;\n    });\n    const item = milestoneOptions.find((option) => option.id === id);\n    setMessage(\n      `${item?.label ?? \"Milestone\"} marked ${checked ? \"complete\" : \"open\"}.`,\n    );\n  }\n\n  function resetSample() {\n    setView(\"build\");\n    setComplete(new Set([\"copy\", \"layout\"]));\n    setReviewPreview(false);\n    setFilter(\"all\");\n    setMessage(\"Sample workspace reset.\");\n  }\n\n  return (\n    <div className=\"feature-grid-demo-specimen\">\n      <TidalFeatureGrid\n        eyebrow=\"Sample workspace\"\n        title=\"One view for the launch plan.\"\n        description=\"Four connected local tools keep a fictional release plan, readiness checks, access setting, and activity log in one place.\"\n        headingLevel=\"h2\"\n      >\n        <TidalFeatureCard\n          className=\"feature-grid-demo-focus\"\n          size=\"wide\"\n          eyebrow=\"Daily focus\"\n          title={active.focus}\n          description=\"Move between real sample views. The schedule, owner, and working list update together.\"\n          icon={<Clock3 size={20} />}\n          footer={\n            <span>\n              {active.owner} owns this block · {active.time} sample time\n            </span>\n          }\n        >\n          <div\n            className=\"feature-grid-demo-tabs\"\n            role=\"group\"\n            aria-label=\"Work view\"\n          >\n            {views.map((item) => (\n              <button\n                key={item.id}\n                type=\"button\"\n                aria-pressed={view === item.id}\n                onClick={() => chooseView(item.id)}\n              >\n                {item.label}\n              </button>\n            ))}\n          </div>\n          <ol className=\"feature-grid-demo-timeline\" key={view}>\n            {active.tasks.map((task, index) => (\n              <li key={task}>\n                <span aria-hidden=\"true\">0{index + 1}</span>\n                <strong>{task}</strong>\n                {index === 0 ? <small>Now</small> : null}\n              </li>\n            ))}\n          </ol>\n        </TidalFeatureCard>\n\n        <TidalFeatureCard\n          className=\"feature-grid-demo-readiness\"\n          size=\"tall\"\n          tone=\"ink\"\n          eyebrow=\"Readiness\"\n          title={`${complete.size} of ${milestoneOptions.length} checked`}\n          description=\"These native checkboxes drive the shared completion rail.\"\n          icon={<ListChecks size={20} />}\n          footer={\n            progress === 100\n              ? \"Sample ready for a final decision.\"\n              : \"Complete every check before the final decision.\"\n          }\n        >\n          <div className=\"feature-grid-demo-progress\" aria-hidden=\"true\">\n            <span style={{ width: `${progress}%` }} />\n          </div>\n          <strong className=\"feature-grid-demo-progress-label\">\n            {progress}% complete\n          </strong>\n          <div className=\"feature-grid-demo-checklist\">\n            {milestoneOptions.map((item, index) => (\n              <label key={item.id}>\n                <input\n                  type=\"checkbox\"\n                  checked={complete.has(item.id)}\n                  onChange={(event) =>\n                    toggleMilestone(item.id, event.target.checked)\n                  }\n                />\n                <span aria-hidden=\"true\">\n                  <Check size={15} />\n                </span>\n                <strong>{item.label}</strong>\n                <small>0{index + 1}</small>\n              </label>\n            ))}\n          </div>\n          <div className=\"feature-grid-demo-orbit\" aria-hidden=\"true\">\n            <span />\n            <span />\n            <Sparkles size={22} />\n          </div>\n        </TidalFeatureCard>\n\n        <TidalFeatureCard\n          className=\"feature-grid-demo-access\"\n          tone=\"soft\"\n          eyebrow=\"Access\"\n          title={reviewPreview ? \"Review-link preview on\" : \"Workspace private\"}\n          description=\"A native switch previews a local access setting and records it in activity. It never creates or shares a link.\"\n          icon={reviewPreview ? <Eye size={20} /> : <LockKeyhole size={20} />}\n        >\n          <label className=\"feature-grid-demo-switch\">\n            <span>\n              <strong>Sample review link</strong>\n              <small>\n                {reviewPreview\n                  ? \"Preview only. No link was created or shared\"\n                  : \"Review-link preview is off\"}\n              </small>\n            </span>\n            <input\n              type=\"checkbox\"\n              role=\"switch\"\n              checked={reviewPreview}\n              onChange={(event) => {\n                setReviewPreview(event.target.checked);\n                setMessage(\n                  event.target.checked\n                    ? \"Local review-link preview turned on. No link was created or shared.\"\n                    : \"Local review-link preview turned off.\",\n                );\n              }}\n            />\n            <i aria-hidden=\"true\">\n              <span />\n            </i>\n          </label>\n          <div\n            className=\"feature-grid-demo-members\"\n            role=\"group\"\n            aria-label=\"Fictional sample team\"\n          >\n            <img\n              src={tidalExampleAvatarDataUri(\"01\")}\n              alt=\"Ava, fictional sample teammate\"\n            />\n            <img\n              src={tidalExampleAvatarDataUri(\"02\")}\n              alt=\"Noah, fictional sample teammate\"\n            />\n            <img\n              src={tidalExampleAvatarDataUri(\"03\")}\n              alt=\"Mila, fictional sample teammate\"\n            />\n            <strong>\n              <UsersRound size={15} aria-hidden=\"true\" /> 3 sample teammates\n            </strong>\n          </div>\n        </TidalFeatureCard>\n\n        <TidalFeatureCard\n          className=\"feature-grid-demo-activity\"\n          eyebrow=\"Activity\"\n          title={`${activity.length} visible ${activity.length === 1 ? \"item\" : \"items\"}`}\n          description=\"Filter the local log without replacing or fetching data.\"\n          icon={<ArrowRight size={20} />}\n          footer={\n            <TidalFeatureAction variant=\"quiet\" onClick={resetSample}>\n              <RefreshCw size={15} aria-hidden=\"true\" />\n              Reset sample\n            </TidalFeatureAction>\n          }\n        >\n          <div\n            className=\"feature-grid-demo-filters\"\n            role=\"group\"\n            aria-label=\"Activity filter\"\n          >\n            {([\"all\", \"updates\", \"notes\"] as const).map((item) => (\n              <button\n                key={item}\n                type=\"button\"\n                aria-pressed={filter === item}\n                onClick={() => {\n                  setFilter(item);\n                  setMessage(\n                    `${item === \"all\" ? \"All activity\" : item} filter selected.`,\n                  );\n                }}\n              >\n                {item === \"all\" ? \"All\" : item[0].toUpperCase() + item.slice(1)}\n              </button>\n            ))}\n          </div>\n          <ul\n            className=\"feature-grid-demo-events\"\n            key={`${filter}-${reviewPreview}`}\n          >\n            {activity.map((item) => (\n              <li key={item.id}>\n                <span aria-hidden=\"true\" />\n                <p>{item.text}</p>\n              </li>\n            ))}\n          </ul>\n        </TidalFeatureCard>\n      </TidalFeatureGrid>\n      <p className=\"feature-grid-demo-status\" role=\"status\" aria-live=\"polite\">\n        {message}\n      </p>\n    </div>\n  );\n}\n\nexport default function AgentExample() {\n  return (\n    <div className=\"tidal-scope\" data-theme=\"light\" dir=\"ltr\">\n      <style>{tidalExampleStyles}</style>\n      <FeatureGridDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/feature-grid.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [
    {
      "prop": "checked",
      "type": "inferred-from-existing-demo",
      "initial": "false",
      "setter": "setReviewPreview",
      "proposalCanBeRejected": false
    }
  ],
  "events": [
    {
      "name": "onChange",
      "nativeType": "React synthetic event or native callback",
      "callerFirst": true,
      "preventable": false,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    },
    {
      "name": "onClick",
      "nativeType": "React synthetic event or native callback",
      "callerFirst": true,
      "preventable": false,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    }
  ],
  "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": "No error fixture is exposed by the existing demo; inject a consumer-owned failure state before production use.",
      "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": []
}
