{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-HighOrderPage-data-table-logs-list-logs-table-search-result-list-prose-blank-st-11",
  "type": "registry:block",
  "title": "Tables and content patterns",
  "description": "UI patterns card from the overtrue/ui workspace examples. Editable source, scoped styles, and demo interactions.",
  "categories": [
    "cards",
    "ui-patterns"
  ],
  "registryDependencies": [
    "https://ui.overtrue.xyz/r/overtrue-card-foundation.json"
  ],
  "files": [
    {
      "path": "src/blocks/registry/HighOrderPage-data-table-logs-list-logs-table-search-result-list-prose-blank-st-11.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/HighOrderPage-data-table-logs-list-logs-table-search-result-list-prose-blank-st-11.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/pages/HighOrderPage.tsx:556.\nimport { useState } from \"react\";\nimport { SectionCard } from \"./runtime/components/overtrue/section-card\";\nimport { StatusBadge } from \"./runtime/components/overtrue/status-badge\";\nimport { LogsList, LogsTable } from \"./runtime/components/overtrue/logs\";\nimport { SearchToolbar } from \"./runtime/components/overtrue/search-results\";\nimport { DataTable } from \"./runtime/components/overtrue/data-table\";\nimport { Prose, ProseP } from \"./runtime/components/overtrue/prose\";\nimport { BlankState } from \"./runtime/components/overtrue/blank-state\";\nimport { SearchResultList } from \"./runtime/components/overtrue/search-results\";\nimport { users } from \"./runtime/data/mock\";\n\nfunction CardExample() {\n  const [searchDemo, setSearchDemo] = useState(\"\");\n\n  return (\n    <>\n      <div className=\"overtrue-block-content\" data-workspace-page=\"high-order\">\n        <SectionCard title=\"DataTable / LogsList / LogsTable / SearchResultList / Prose / BlankState\">\n          <DataTable\n            className=\"mb-3\"\n            columns={[\n              { key: \"name\", header: \"User\" },\n              { key: \"email\", header: \"Email\" },\n              { key: \"role\", header: \"Role\" },\n              {\n                key: \"status\",\n                header: \"Status\",\n                render: (row) => (\n                  <StatusBadge\n                    status={row.status === \"active\" ? \"active\" : \"inactive\"}\n                    label={row.status === \"active\" ? \"Active\" : \"Inactive\"}\n                  />\n                ),\n              },\n            ]}\n            rows={users as unknown as Record<string, unknown>[]}\n          />\n          <LogsList\n            className=\"mb-3\"\n            entries={[\n              {\n                id: \"1\",\n                time: \"12:04:01\",\n                level: \"info\",\n                message: \"Maya signed in\",\n                source: \"auth\",\n              },\n              {\n                id: \"2\",\n                time: \"12:04:18\",\n                level: \"success\",\n                message: \"Invoice marked paid\",\n                source: \"billing\",\n              },\n              {\n                id: \"3\",\n                time: \"12:05:02\",\n                level: \"warning\",\n                message: \"API latency high\",\n                source: \"gateway\",\n              },\n            ]}\n          />\n          <LogsTable\n            className=\"mb-3\"\n            entries={[\n              {\n                id: \"4\",\n                time: \"12:06:00\",\n                level: \"error\",\n                message: \"Mail queue failure\",\n                source: \"mailer\",\n              },\n            ]}\n          />\n          <SearchResultList\n            className=\"mb-3\"\n            items={[\n              {\n                id: \"1\",\n                title: \"Dashboard widgets\",\n                excerpt: \"StatCard + ActivityFeed composition\",\n                type: \"Page\",\n                date: \"now\",\n                initials: \"PK\",\n              },\n            ]}\n          />\n          <div className=\"mb-3 space-y-2\">\n            <div className=\"metric-label\">SearchToolbar</div>\n            <SearchToolbar\n              query={searchDemo}\n              onQueryChange={setSearchDemo}\n              placeholder=\"Search high-order demos…\"\n            />\n            {searchDemo ? (\n              <div className=\"text-xs text-muted-foreground\">\n                Query: {searchDemo}\n              </div>\n            ) : null}\n          </div>\n          <div className=\"mb-3 rounded-md border border-border p-3\">\n            <Prose>\n              <ProseP>\n                Prose high-order text primitives for long-form demos.\n              </ProseP>\n            </Prose>\n          </div>\n          <BlankState\n            title=\"BlankState\"\n            description=\"Empty/blank page composition.\"\n          />\n        </SectionCard>\n      </div>\n    </>\n  );\n}\n\nexport default function Block() { return <BlockFrame><CardExample /></BlockFrame>; }\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/blocks/HighOrderPage-data-table-logs-list-logs-table-search-result-list-prose-blank-st-11. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
