@uibot/mcp-server 0.18.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/dist/http.js +95 -95
  2. package/dist/resources/bundle.json +1 -1
  3. package/dist/resources/design-md/frontend-principles.design.md +12 -0
  4. package/dist/resources/shells/shadcn-admin-shell.yaml +5 -4
  5. package/dist/resources/templates/auth.yaml +84 -67
  6. package/dist/resources/templates/shadcn-admin.yaml +12210 -122
  7. package/dist/server.js +101 -101
  8. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/licenses/UIBot-LICENSE +21 -0
  9. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/licenses/blocks-icons-LICENSE +46 -0
  10. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/licenses/shadcn-THIRD_PARTY_LICENSE +21 -0
  11. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-apps.json +61 -0
  12. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-chats.json +54 -0
  13. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-dashboard.json +70 -0
  14. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-error-401.json +54 -0
  15. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-error-403.json +54 -0
  16. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-error-404.json +54 -0
  17. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-error-500.json +54 -0
  18. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-error-503.json +54 -0
  19. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-forgot-password.json +59 -0
  20. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-help.json +53 -0
  21. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-otp.json +59 -0
  22. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-overview.json +62 -0
  23. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-settings-account.json +61 -0
  24. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-settings-appearance.json +61 -0
  25. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-settings-display.json +61 -0
  26. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-settings-notifications.json +61 -0
  27. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-settings-profile.json +61 -0
  28. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-settings.json +65 -0
  29. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-shell.json +160 -0
  30. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-sign-in-2.json +67 -0
  31. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-sign-in.json +59 -0
  32. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-sign-up.json +59 -0
  33. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-tasks.json +66 -0
  34. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-users.json +66 -0
  35. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/ai-chat.json +74 -0
  36. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/analytics-dashboard.json +65 -0
  37. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/app-shell-floating.json +54 -0
  38. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/app-shell-icon-rail.json +54 -0
  39. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/app-shell-inset.json +54 -0
  40. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/app-shell-settings.json +54 -0
  41. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/app-shell-sidebar.json +54 -0
  42. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/app-shell-workspace.json +54 -0
  43. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/auth-centered.json +61 -0
  44. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/auth-enterprise.json +61 -0
  45. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/auth-recovery.json +64 -0
  46. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/auth-registration.json +63 -0
  47. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/auth-split.json +67 -0
  48. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/auth.json +61 -0
  49. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/blog.json +64 -0
  50. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/charts.json +211 -0
  51. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/chat-artifact.json +49 -0
  52. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/chat-focused.json +49 -0
  53. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/chat-history.json +49 -0
  54. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/chat-knowledge.json +49 -0
  55. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/chat-support.json +49 -0
  56. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/chat-workspace.json +136 -0
  57. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/collection-shared.json +23 -0
  58. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/commerce-workspace.json +69 -0
  59. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/console-billing.json +68 -0
  60. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/console-page.json +289 -0
  61. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/console-shell.json +29 -0
  62. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/content.json +444 -0
  63. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/creation-shared.json +24 -0
  64. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/crm-workspace.json +73 -0
  65. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/crm.json +67 -0
  66. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/dashboard.json +147 -0
  67. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/data-studio.json +368 -0
  68. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/data-table.json +242 -0
  69. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/data.json +398 -0
  70. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/document-assistant.json +54 -0
  71. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/document-library.json +49 -0
  72. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/document-reading.json +49 -0
  73. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/document-workspace.json +164 -0
  74. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/document-writing.json +49 -0
  75. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/drilldown-menu.json +233 -0
  76. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/ecommerce.json +65 -0
  77. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/education-workspace.json +82 -0
  78. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/feedback.json +331 -0
  79. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/field.json +164 -0
  80. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/form.json +429 -0
  81. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/grid.json +188 -0
  82. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/interactive.json +355 -0
  83. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/item-grid.json +219 -0
  84. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/kanban.json +154 -0
  85. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/layout.json +771 -0
  86. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/lms.json +74 -0
  87. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/marketing.json +402 -0
  88. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/nav.json +257 -0
  89. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/portfolio.json +62 -0
  90. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/presentation.json +454 -0
  91. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/pricing.json +63 -0
  92. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/primitives.json +360 -0
  93. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/saas-landing.json +60 -0
  94. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sections.json +734 -0
  95. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/settings.json +72 -0
  96. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/shadcn-admin-shell.json +49 -0
  97. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/shadcn-admin.json +77 -0
  98. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-01.json +42 -0
  99. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-02.json +42 -0
  100. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-03.json +30 -0
  101. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-04.json +30 -0
  102. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-05.json +36 -0
  103. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-06.json +42 -0
  104. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-07.json +54 -0
  105. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-08.json +54 -0
  106. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-09.json +36 -0
  107. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-10.json +66 -0
  108. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-11.json +30 -0
  109. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-12.json +48 -0
  110. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-13.json +30 -0
  111. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-14.json +30 -0
  112. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-15.json +84 -0
  113. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-16.json +66 -0
  114. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-drilldown.json +29 -0
  115. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-primitives.json +155 -0
  116. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/store.json +75 -0
  117. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/support-inbox.json +63 -0
  118. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/team-directory.json +59 -0
  119. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/uibot-base.json +30 -0
  120. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/workspace.json +174 -0
  121. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/snapshot.json +1 -0
  122. package/package.json +9 -9
@@ -0,0 +1,454 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "presentation",
4
+ "type": "registry:ui",
5
+ "description": "Asymmetric editorial hero: serif display title (with optional italic emphasis word), mono eyebrow with amber dot, warm radial-glow + blueprint dot-grid backdrop, grain overlay, staggered reveal, and primary/secondary CTAs. An optional right-side visual renders via the `aside` slot or children.",
6
+ "dependencies": [
7
+ "react@19.3.0"
8
+ ],
9
+ "registryDependencies": [
10
+ "@uibot/uibot-base"
11
+ ],
12
+ "files": [
13
+ {
14
+ "path": "components/uibot/presentation.tsx",
15
+ "target": "components/uibot/presentation.tsx",
16
+ "content": "import type { ReactElement, ReactNode } from \"react\";\nimport { cn } from \"@/lib/utils\";\nimport type { RendererComponent } from \"@/lib/uibot-renderer\";\n\n/**\n * Premium \"Schematic Editorial\" presentation blocks.\n *\n * These are layout-only marketing primitives (Hero, SectionHeader, FeatureGrid,\n * FeatureCard, CodeShowcase, CtaBand). They lean on the `.mkt-*` design-system\n * classes defined in `apps/studio/src/styles.css` (serif display font, mono\n * eyebrow/section numbers, hairline cards, warm amber accent, grain + dot-grid\n * hero backdrop, staggered reveal). Like the rest of blocks-studio they ship\n * with **zero third-party runtime deps** — lucide icon *names* map onto a small\n * inline-SVG set rather than pulling in `lucide-react`.\n *\n * CTA props ({label, href}) render as accessible anchors styled as button /\n * outline; everything else (rich Link blocks, etc.) stays the host spec's job.\n */\n\nfunction str(v: unknown): string | undefined {\n return typeof v === \"string\" && v.length > 0 ? v : undefined;\n}\n\ninterface Cta {\n label: string;\n href: string;\n}\n\nfunction parseCta(raw: unknown): Cta | undefined {\n if (!raw || typeof raw !== \"object\") return undefined;\n const rec = raw as Record<string, unknown>;\n const label = str(rec[\"label\"]);\n const href = str(rec[\"href\"]);\n if (!label) return undefined;\n return { label, href: href ?? \"#\" };\n}\n\n// ── Inline icon set (lucide-compatible names, no runtime dep) ──────────────────\n\n// Minimal stroke icons keyed by lucide name. Unknown names fall back to a dot,\n// so the block never throws on an unmapped icon.\nconst ICON_PATHS: Record<string, ReactNode> = {\n sparkles: <path d=\"M12 3l1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9z\" />,\n zap: <path d=\"M13 2 4 14h7l-1 8 9-12h-7z\" />,\n layers: (\n <>\n <path d=\"m12 3 9 5-9 5-9-5 9-5z\" />\n <path d=\"m3 12 9 5 9-5\" />\n </>\n ),\n boxes: (\n <>\n <rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" rx=\"1\" />\n <rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" rx=\"1\" />\n <rect x=\"8.5\" y=\"14\" width=\"7\" height=\"7\" rx=\"1\" />\n </>\n ),\n code: <path d=\"m8 6-6 6 6 6M16 6l6 6-6 6\" />,\n cpu: (\n <>\n <rect x=\"6\" y=\"6\" width=\"12\" height=\"12\" rx=\"2\" />\n <path d=\"M9 1v3M15 1v3M9 20v3M15 20v3M1 9h3M1 15h3M20 9h3M20 15h3\" />\n </>\n ),\n workflow: (\n <>\n <rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" rx=\"1\" />\n <rect x=\"14\" y=\"14\" width=\"7\" height=\"7\" rx=\"1\" />\n <path d=\"M10 6.5h6a2 2 0 0 1 2 2V14\" />\n </>\n ),\n gauge: (\n <>\n <path d=\"M3 14a9 9 0 1 1 18 0\" />\n <path d=\"m13 12-3 3\" />\n </>\n ),\n shield: <path d=\"M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z\" />,\n wand: <path d=\"m15 4 5 5M4 20 14 10M9 4l1 2 2 1-2 1-1 2-1-2-2-1 2-1z\" />,\n};\n\nfunction Icon({ name }: { name?: string | undefined }): ReactElement {\n const path = (name && ICON_PATHS[name.toLowerCase()]) || <circle cx=\"12\" cy=\"12\" r=\"3\" />;\n return (\n <svg\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={1.6}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"size-5\"\n aria-hidden=\"true\"\n >\n {path}\n </svg>\n );\n}\n\n// ── Shared CTA anchor ──────────────────────────────────────────────────────────\n\nfunction CtaLink({\n cta,\n variant,\n}: {\n cta: Cta;\n variant: \"primary\" | \"outline\" | \"inverse\";\n}): ReactElement {\n const base =\n \"inline-flex items-center justify-center gap-2 rounded-md px-5 py-2.5 text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2\";\n const variants: Record<typeof variant, string> = {\n primary:\n \"bg-[var(--marketing-accent)] text-[var(--marketing-accent-foreground)] hover:bg-[var(--marketing-accent-strong)] focus-visible:ring-[var(--marketing-accent)]\",\n outline:\n \"border border-border bg-transparent text-foreground hover:border-[var(--marketing-accent)] hover:text-[var(--marketing-accent)] focus-visible:ring-border\",\n inverse:\n \"bg-gradient-to-r from-[var(--marketing-accent)] to-[var(--mk-accent-3)] text-[var(--marketing-accent-foreground)] hover:opacity-90 focus-visible:ring-[var(--marketing-accent)]\",\n };\n return (\n <a href={cta.href} className={cn(base, variants[variant])}>\n {cta.label}\n </a>\n );\n}\n\n// ── Hero ────────────────────────────────────────────────────────────────────\n\n/**\n * Asymmetric editorial hero. Serif display title (with optional italic emphasis\n * via the `titleEmphasis` prop), mono eyebrow with amber dot, warm radial glow +\n * blueprint dot grid backdrop, grain overlay, and staggered reveal. Renders an\n * optional spec/preview visual on the right via the `aside` slot or children.\n */\nexport const Hero: RendererComponent = (props, ctx) => {\n const eyebrow = str(props[\"eyebrow\"]);\n const title = str(props[\"title\"]) ?? \"\";\n const titleEmphasis = str(props[\"titleEmphasis\"]);\n const subtitle = str(props[\"subtitle\"]);\n const note = str(props[\"note\"]);\n const primary = parseCta(props[\"primaryCta\"]);\n const secondary = parseCta(props[\"secondaryCta\"]);\n const aside = (ctx.slots[\"aside\"] as ReactNode[] | undefined) ?? (ctx.children as ReactNode[]);\n\n return (\n <section\n className=\"marketing mkt-hero relative px-6 py-20 md:px-10 md:py-28\"\n data-uibot-type=\"Hero\"\n >\n <span className=\"mkt-hero-backdrop\" aria-hidden=\"true\" />\n <span className=\"mkt-grain\" aria-hidden=\"true\" />\n <div className=\"mx-auto grid max-w-6xl items-center gap-12 md:grid-cols-[1.15fr_0.85fr]\">\n <div className=\"max-w-2xl\">\n {eyebrow && <p className=\"mkt-eyebrow mkt-reveal mkt-reveal-1\">{eyebrow}</p>}\n <h1 className=\"mkt-reveal mkt-reveal-2 mt-5 text-5xl md:text-7xl\">\n {title}\n {titleEmphasis && (\n <>\n {\" \"}\n <span className=\"mkt-display-italic text-[var(--marketing-accent)]\">\n {titleEmphasis}\n </span>\n </>\n )}\n </h1>\n {subtitle && (\n <p className=\"mkt-reveal mkt-reveal-3 mt-6 max-w-xl text-lg leading-relaxed text-muted-foreground\">\n {subtitle}\n </p>\n )}\n {(primary || secondary) && (\n <div className=\"mkt-reveal mkt-reveal-4 mt-8 flex flex-wrap items-center gap-3\">\n {primary && <CtaLink cta={primary} variant=\"primary\" />}\n {secondary && <CtaLink cta={secondary} variant=\"outline\" />}\n </div>\n )}\n {note && (\n <p className=\"mkt-reveal mkt-reveal-5 mt-6 font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.18em] text-muted-foreground\">\n {note}\n </p>\n )}\n </div>\n {aside && aside.length > 0 && (\n <div className=\"mkt-reveal mkt-reveal-4 hidden md:block\">{aside}</div>\n )}\n </div>\n </section>\n );\n};\n\n// ── BrowserFrame ──────────────────────────────────────────────────────────────\n\n/**\n * Product-screenshot window shell. Frames its `content` slot (or children) in a\n * precise browser/app chrome — three traffic-light dots + a mono title/address\n * bar — with a hairline border, long soft shadow, and an optional subtle 3D tilt\n * (`variant: \"tilt\"`). Used on the marketing surface to present a *live-rendered*\n * UIBot UI as the hero/showcase visual: the platform renders a real product\n * interface inside the frame instead of pasting a static screenshot (dogfood).\n *\n * Pure layout + `.mkt-*` CSS — zero runtime deps. The framed content is whatever\n * spec blocks the host drops into the `content` slot (StatGrid, TrendChart,\n * SearchableTable, KanbanBoard, …), so it renders for real.\n */\nexport const BrowserFrame: RendererComponent = (props, ctx) => {\n const title = str(props[\"title\"]);\n const variant = str(props[\"variant\"]); // \"flat\" (default) | \"tilt\"\n const tone = str(props[\"tone\"]); // accent index 0–3 for the chrome wash\n const tintRaw = Number(tone);\n const tint = Number.isFinite(tintRaw) ? ((tintRaw % 4) + 4) % 4 : 0;\n const content =\n (ctx.slots[\"content\"] as ReactNode[] | undefined) ?? (ctx.children as ReactNode[]);\n\n return (\n <div\n className={cn(\"mkt-frame marketing\", variant === \"tilt\" && \"mkt-frame-tilt\")}\n data-uibot-type=\"BrowserFrame\"\n >\n <div className={cn(\"mkt-frame-chrome\", `mkt-frame-tint-${tint}`)}>\n <span className=\"mkt-frame-dot mkt-frame-dot-r\" aria-hidden=\"true\" />\n <span className=\"mkt-frame-dot mkt-frame-dot-y\" aria-hidden=\"true\" />\n <span className=\"mkt-frame-dot mkt-frame-dot-g\" aria-hidden=\"true\" />\n <span className=\"mkt-frame-addr\">{title ?? \"app.uibot.studio\"}</span>\n </div>\n <div className=\"mkt-frame-body\">{content}</div>\n </div>\n );\n};\n\n// ── SectionHeader ──────────────────────────────────────────────────────────────\n\n/** Oversized mono section number + serif title + lead paragraph. */\nexport const SectionHeader: RendererComponent = (props) => {\n const sectionNo = str(props[\"sectionNo\"]);\n const eyebrow = str(props[\"eyebrow\"]);\n const title = str(props[\"title\"]) ?? \"\";\n const lead = str(props[\"lead\"]);\n\n return (\n <header className=\"marketing mx-auto max-w-3xl px-6 md:px-0\" data-uibot-type=\"SectionHeader\">\n <div className=\"flex items-baseline gap-4\">\n {sectionNo && <span className=\"mkt-sectno text-4xl md:text-5xl\">{sectionNo}</span>}\n <div>\n {eyebrow && <p className=\"mkt-eyebrow\">{eyebrow}</p>}\n <h2 className=\"mt-2 text-3xl md:text-4xl\">{title}</h2>\n </div>\n </div>\n {lead && (\n <p className=\"mt-4 max-w-2xl text-base leading-relaxed text-muted-foreground\">{lead}</p>\n )}\n </header>\n );\n};\n\n// ── FeatureGrid + FeatureCard ──────────────────────────────────────────────────\n\ninterface FeatureItem {\n icon?: string | undefined;\n title: string;\n desc?: string | undefined;\n}\n\nfunction parseFeatureItems(raw: unknown): FeatureItem[] {\n if (!Array.isArray(raw)) return [];\n return raw\n .filter((it): it is Record<string, unknown> => Boolean(it) && typeof it === \"object\")\n .map((it) => ({\n icon: str(it[\"icon\"]),\n title: str(it[\"title\"]) ?? \"\",\n desc: str(it[\"desc\"]),\n }));\n}\n\nconst FEATURE_COLS: Record<string, string> = {\n \"2\": \"sm:grid-cols-2\",\n \"3\": \"sm:grid-cols-2 lg:grid-cols-3\",\n \"4\": \"sm:grid-cols-2 lg:grid-cols-4\",\n};\n\n/**\n * Responsive grid of hairline feature cards with hover lift. Accepts an `items`\n * array (each → a FeatureCard) and/or rendered FeatureCard children.\n */\nexport const FeatureGrid: RendererComponent = (props, ctx) => {\n const items = parseFeatureItems(props[\"items\"]);\n const cols = String(props[\"cols\"] ?? \"3\");\n const colsCls = FEATURE_COLS[cols] ?? FEATURE_COLS[\"3\"];\n const children = ctx.children as ReactNode[];\n\n return (\n <div\n className={cn(\"marketing mx-auto grid max-w-6xl gap-5 px-6 md:px-0 grid-cols-1\", colsCls)}\n data-uibot-type=\"FeatureGrid\"\n >\n {children.length > 0\n ? children\n : items.map((it, i) => (\n <article\n key={i}\n className={cn(\"mkt-card mkt-reveal p-6\", `mkt-reveal-${Math.min(i + 1, 6)}`)}\n >\n <span\n className={cn(\n \"inline-flex size-11 items-center justify-center rounded-lg border mkt-tint\",\n `mkt-tint-${i % 4}`,\n )}\n >\n <Icon name={it.icon} />\n </span>\n <h3 className=\"mt-5 text-xl\">{it.title}</h3>\n {it.desc && (\n <p className=\"mt-2 text-sm leading-relaxed text-muted-foreground\">{it.desc}</p>\n )}\n </article>\n ))}\n </div>\n );\n};\n\n/** Single hairline feature card. Usable standalone inside a FeatureGrid. */\nexport const FeatureCard: RendererComponent = (props, ctx) => {\n const icon = str(props[\"icon\"]);\n const title = str(props[\"title\"]) ?? \"\";\n const desc = str(props[\"desc\"]);\n // Optional `tint` (0–3) selects one of the four accent hues for the icon wash;\n // when standalone it defaults to the amber accent (tier 0).\n const tintRaw = Number(props[\"tint\"]);\n const tint = Number.isFinite(tintRaw) ? ((tintRaw % 4) + 4) % 4 : 0;\n const children = ctx.children as ReactNode[];\n\n return (\n <article className=\"mkt-card marketing p-6\" data-uibot-type=\"FeatureCard\">\n <span\n className={cn(\n \"inline-flex size-11 items-center justify-center rounded-lg border mkt-tint\",\n `mkt-tint-${tint}`,\n )}\n >\n <Icon name={icon} />\n </span>\n <h3 className=\"mt-5 text-xl\">{title}</h3>\n {desc && <p className=\"mt-2 text-sm leading-relaxed text-muted-foreground\">{desc}</p>}\n {children.length > 0 && <div className=\"mt-4\">{children}</div>}\n </article>\n );\n};\n\n// ── CodeShowcase ──────────────────────────────────────────────────────────────\n\n/**\n * Mono code panel with window chrome (three dots) + line numbers — used to show\n * a UIBot YAML/JSON spec. Pure CSS, no syntax highlighter dependency.\n */\nexport const CodeShowcase: RendererComponent = (props) => {\n const title = str(props[\"title\"]);\n const code = str(props[\"code\"]) ?? \"\";\n const caption = str(props[\"caption\"]);\n const lines = code.replace(/\\n$/, \"\").split(\"\\n\");\n\n return (\n <figure className=\"marketing mx-auto max-w-3xl px-6 md:px-0\" data-uibot-type=\"CodeShowcase\">\n <div className=\"mkt-card overflow-hidden p-0\">\n <div className=\"flex items-center gap-2 border-b border-border bg-muted/40 px-4 py-2.5\">\n <span className=\"size-2.5 rounded-full bg-[color-mix(in_oklch,var(--destructive)_70%,transparent)]\" />\n <span className=\"size-2.5 rounded-full bg-[color-mix(in_oklch,var(--warning)_80%,transparent)]\" />\n <span className=\"size-2.5 rounded-full bg-[color-mix(in_oklch,var(--success)_70%,transparent)]\" />\n {title && (\n <span className=\"ml-3 font-[family-name:var(--font-marketing-mono)] text-xs text-muted-foreground\">\n {title}\n </span>\n )}\n </div>\n <pre className=\"overflow-x-auto bg-card px-0 py-4 text-[0.8125rem] leading-relaxed\">\n <code className=\"font-[family-name:var(--font-marketing-mono)]\">\n {lines.map((line, i) => (\n <div key={i} className=\"grid grid-cols-[2.5rem_1fr] hover:bg-muted/30\">\n <span className=\"select-none px-2 text-right text-muted-foreground/50 tabular-nums\">\n {i + 1}\n </span>\n <span className=\"whitespace-pre px-2 text-foreground\">{line || \" \"}</span>\n </div>\n ))}\n </code>\n </pre>\n </div>\n {caption && (\n <figcaption className=\"mt-3 text-center text-sm text-muted-foreground\">\n {caption}\n </figcaption>\n )}\n </figure>\n );\n};\n\n// ── CtaBand ──────────────────────────────────────────────────────────────────\n\n/** Inverted ink-black panel with a single amber CTA. */\nexport const CtaBand: RendererComponent = (props) => {\n const title = str(props[\"title\"]) ?? \"\";\n const subtitle = str(props[\"subtitle\"]);\n const cta = parseCta(props[\"cta\"]);\n\n return (\n <section className=\"marketing mx-auto max-w-6xl px-6 md:px-0\" data-uibot-type=\"CtaBand\">\n <div className=\"mkt-hero relative overflow-hidden rounded-2xl bg-foreground px-8 py-14 text-background md:px-14\">\n {/* Warm amber → rose gradient glow on the inverted ink panel for a hit\n of colour and energy without overpowering the high-contrast type. */}\n <span\n aria-hidden=\"true\"\n className=\"pointer-events-none absolute inset-0\"\n style={{\n background:\n \"radial-gradient(60% 120% at 12% 0%, color-mix(in oklch, var(--marketing-accent) 30%, transparent) 0%, transparent 55%), radial-gradient(60% 120% at 100% 100%, color-mix(in oklch, var(--mk-accent-3) 26%, transparent) 0%, transparent 55%)\",\n }}\n />\n <span className=\"mkt-grain\" aria-hidden=\"true\" />\n <div className=\"relative flex flex-col items-start gap-6 md:flex-row md:items-center md:justify-between\">\n <div className=\"max-w-xl\">\n <h2 className=\"text-3xl md:text-4xl\">{title}</h2>\n {subtitle && (\n <p className=\"mt-3 text-base leading-relaxed text-background/70\">{subtitle}</p>\n )}\n </div>\n {cta && (\n <div className=\"shrink-0\">\n <CtaLink cta={cta} variant=\"inverse\" />\n </div>\n )}\n </div>\n </div>\n </section>\n );\n};\n",
17
+ "type": "registry:ui"
18
+ },
19
+ {
20
+ "path": "components/uibot/presentation.uibot.json",
21
+ "target": "components/uibot/presentation.uibot.json",
22
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"presentation\",\n \"channel\": \"public\",\n \"components\": [\n {\n \"name\": \"BrowserFrame\",\n \"export\": \"BrowserFrame\",\n \"module\": \"presentation.tsx\",\n \"catalog\": {\n \"name\": \"BrowserFrame\",\n \"description\": \"Product-screenshot window shell: frames its `content` slot (or children) in a precise browser/app chrome — three traffic-light dots + a mono title/address bar — with a hairline border, long soft shadow, and an optional 3D tilt. Used to present a live-rendered UI as a product-shot visual (dogfood) instead of a static screenshot.\",\n \"category\": \"presentation\",\n \"level\": \"L2\",\n \"tags\": [\n \"frame\",\n \"browser\",\n \"window\",\n \"screenshot\",\n \"marketing\"\n ],\n \"props\": {\n \"title\": {\n \"type\": \"string\",\n \"description\": \"Address/title shown in the window chrome (defaults to 'app.uibot.studio')\"\n },\n \"variant\": {\n \"type\": \"string\",\n \"enum\": [\n \"flat\",\n \"tilt\"\n ],\n \"default\": \"flat\",\n \"description\": \"'tilt' adds a subtle 3D perspective tilt for a product-shot feel\"\n },\n \"tone\": {\n \"type\": \"string\",\n \"enum\": [\n \"0\",\n \"1\",\n \"2\",\n \"3\"\n ],\n \"default\": \"0\",\n \"description\": \"Accent-hue index for the chrome address bar wash (0 amber · 1 teal · 2 rose · 3 indigo)\"\n }\n },\n \"slots\": {\n \"content\": {\n \"description\": \"The UI rendered inside the frame; usually a real dashboard composed from data blocks\"\n }\n },\n \"usageScenarios\": [\n \"Hero visual framing a live-rendered mini dashboard as the product shot\",\n \"Showcase row of small frames each rendering a different UI from the same engine\"\n ],\n \"constraints\": [\n \"Frames the `content` slot, falling back to children; supply real spec blocks to render a live UI\",\n \"Decorative chrome only — it does not add browser behaviour (no real address bar)\"\n ]\n }\n },\n {\n \"name\": \"CodeShowcase\",\n \"export\": \"CodeShowcase\",\n \"module\": \"presentation.tsx\",\n \"catalog\": {\n \"name\": \"CodeShowcase\",\n \"description\": \"Mono code panel with window chrome (three dots) and line numbers, used to showcase a UIBot YAML/JSON spec. Pure CSS, no syntax-highlighter dependency.\",\n \"category\": \"presentation\",\n \"level\": \"L2\",\n \"tags\": [\n \"code\",\n \"spec\",\n \"showcase\",\n \"marketing\"\n ],\n \"props\": {\n \"title\": {\n \"type\": \"string\",\n \"description\": \"Filename / label shown in the window chrome\"\n },\n \"code\": {\n \"type\": \"string\",\n \"description\": \"Raw code string; newline-separated, rendered with line numbers\"\n },\n \"caption\": {\n \"type\": \"string\",\n \"description\": \"Caption under the panel\"\n }\n },\n \"usageScenarios\": [\n \"Show an example UIBot YAML spec on the landing page\",\n \"Before/after spec snippet in a docs section\"\n ],\n \"constraints\": [\n \"code is plain text rendered verbatim with line numbers; no highlighting/escaping beyond React's default\"\n ]\n }\n },\n {\n \"name\": \"CtaBand\",\n \"export\": \"CtaBand\",\n \"module\": \"presentation.tsx\",\n \"catalog\": {\n \"name\": \"CtaBand\",\n \"description\": \"Inverted ink-black call-to-action band with grain overlay and a single amber CTA. Closes a landing page with high contrast.\",\n \"category\": \"presentation\",\n \"level\": \"L2\",\n \"tags\": [\n \"cta\",\n \"band\",\n \"marketing\",\n \"conversion\"\n ],\n \"props\": {\n \"title\": {\n \"type\": \"string\",\n \"description\": \"Serif headline\"\n },\n \"subtitle\": {\n \"type\": \"string\",\n \"description\": \"Supporting line\"\n },\n \"cta\": {\n \"type\": \"object\",\n \"properties\": {\n \"label\": {\n \"type\": \"string\"\n },\n \"href\": {\n \"type\": \"string\"\n }\n },\n \"description\": \"{label, href} — solid amber button\"\n }\n },\n \"usageScenarios\": [\n \"Final 'Start building' band at the bottom of the landing page\",\n \"Newsletter / docs CTA between sections\"\n ],\n \"constraints\": [\n \"Single CTA by design; cta.href defaults to '#' when omitted\"\n ]\n }\n },\n {\n \"name\": \"FeatureCard\",\n \"export\": \"FeatureCard\",\n \"module\": \"presentation.tsx\",\n \"catalog\": {\n \"name\": \"FeatureCard\",\n \"description\": \"Single hairline feature card: inline-SVG icon, serif title, body copy, and optional children. Designed to sit inside a FeatureGrid but works standalone.\",\n \"category\": \"presentation\",\n \"level\": \"L1\",\n \"tags\": [\n \"feature\",\n \"card\",\n \"marketing\"\n ],\n \"props\": {\n \"icon\": {\n \"type\": \"string\",\n \"description\": \"lucide icon name (see FeatureGrid)\"\n },\n \"title\": {\n \"type\": \"string\"\n },\n \"desc\": {\n \"type\": \"string\"\n }\n },\n \"usageScenarios\": [\n \"A single emphasised feature beside a screenshot\",\n \"Composed children inside a FeatureGrid for custom card bodies\"\n ],\n \"constraints\": [\n \"icon resolves against the built-in inline-SVG set; unknown → dot fallback\"\n ]\n }\n },\n {\n \"name\": \"FeatureGrid\",\n \"export\": \"FeatureGrid\",\n \"module\": \"presentation.tsx\",\n \"catalog\": {\n \"name\": \"FeatureGrid\",\n \"description\": \"Responsive grid of hairline feature cards with hover lift. Renders an `items` array (icon name + title + desc) into FeatureCards, or lays out FeatureCard children directly.\",\n \"category\": \"presentation\",\n \"level\": \"L2\",\n \"tags\": [\n \"features\",\n \"grid\",\n \"cards\",\n \"marketing\"\n ],\n \"props\": {\n \"cols\": {\n \"type\": \"string\",\n \"enum\": [\n \"2\",\n \"3\",\n \"4\"\n ],\n \"default\": \"3\"\n },\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"icon\": {\n \"type\": \"string\",\n \"description\": \"lucide icon name (sparkles, zap, layers, code, cpu, workflow, gauge, shield, wand, boxes)\"\n },\n \"title\": {\n \"type\": \"string\"\n },\n \"desc\": {\n \"type\": \"string\"\n }\n }\n },\n \"description\": \"[{icon, title, desc}] feature entries\"\n }\n },\n \"usageScenarios\": [\n \"Three-up feature highlights under a SectionHeader\",\n \"Capability grid (declarative spec, gap recovery, plugin catalog)\"\n ],\n \"constraints\": [\n \"icon is a lucide name mapped to a built-in inline SVG; unknown names fall back to a dot\",\n \"Provide either items or FeatureCard children — children win when present\"\n ]\n }\n },\n {\n \"name\": \"Hero\",\n \"export\": \"Hero\",\n \"module\": \"presentation.tsx\",\n \"catalog\": {\n \"name\": \"Hero\",\n \"description\": \"Asymmetric editorial hero: serif display title (with optional italic emphasis word), mono eyebrow with amber dot, warm radial-glow + blueprint dot-grid backdrop, grain overlay, staggered reveal, and primary/secondary CTAs. An optional right-side visual renders via the `aside` slot or children.\",\n \"category\": \"presentation\",\n \"level\": \"L3\",\n \"tags\": [\n \"hero\",\n \"marketing\",\n \"landing\",\n \"editorial\"\n ],\n \"props\": {\n \"eyebrow\": {\n \"type\": \"string\",\n \"description\": \"Mono uppercase kicker above the title\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"Serif display headline\"\n },\n \"titleEmphasis\": {\n \"type\": \"string\",\n \"description\": \"Optional trailing word rendered italic + amber for emphasis\"\n },\n \"subtitle\": {\n \"type\": \"string\",\n \"description\": \"Supporting lead paragraph\"\n },\n \"primaryCta\": {\n \"type\": \"object\",\n \"properties\": {\n \"label\": {\n \"type\": \"string\"\n },\n \"href\": {\n \"type\": \"string\"\n }\n },\n \"description\": \"{label, href} — solid amber button\"\n },\n \"secondaryCta\": {\n \"type\": \"object\",\n \"properties\": {\n \"label\": {\n \"type\": \"string\"\n },\n \"href\": {\n \"type\": \"string\"\n }\n },\n \"description\": \"{label, href} — outline button\"\n },\n \"note\": {\n \"type\": \"string\",\n \"description\": \"Small mono note under the CTAs\"\n }\n },\n \"slots\": {\n \"aside\": {\n \"description\": \"Right-pane visual (e.g. a rendered spec preview); hidden on mobile\"\n }\n },\n \"usageScenarios\": [\n \"Studio landing-page hero introducing 'AI writes the spec, the platform renders the UI'\",\n \"Product launch hero with a spec snippet preview on the right\"\n ],\n \"constraints\": [\n \"CTA props are {label, href}; href defaults to '#' when omitted\",\n \"Use titleEmphasis for a single emphasis word, not the whole title\"\n ]\n }\n },\n {\n \"name\": \"SectionHeader\",\n \"export\": \"SectionHeader\",\n \"module\": \"presentation.tsx\",\n \"catalog\": {\n \"name\": \"SectionHeader\",\n \"description\": \"Editorial section header: oversized mono section number (e.g. '01'), mono eyebrow, serif title, and a lead paragraph. Sets the rhythm between page sections.\",\n \"category\": \"presentation\",\n \"level\": \"L2\",\n \"tags\": [\n \"section\",\n \"header\",\n \"marketing\",\n \"editorial\"\n ],\n \"props\": {\n \"sectionNo\": {\n \"type\": \"string\",\n \"description\": \"Oversized mono numeral, e.g. '01'\"\n },\n \"eyebrow\": {\n \"type\": \"string\",\n \"description\": \"Mono uppercase kicker\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"Serif section title\"\n },\n \"lead\": {\n \"type\": \"string\",\n \"description\": \"Lead / intro paragraph\"\n }\n },\n \"usageScenarios\": [\n \"Numbered section dividers on a landing page (01 Features, 02 How it works)\",\n \"Editorial chapter header above a FeatureGrid\"\n ],\n \"constraints\": [\n \"sectionNo is display text; any string works (e.g. '01', 'A', '§1')\"\n ]\n }\n }\n ]\n}\n",
23
+ "type": "registry:ui"
24
+ }
25
+ ],
26
+ "meta": {
27
+ "category": "presentation",
28
+ "level": "L3",
29
+ "props": {
30
+ "eyebrow": {
31
+ "type": "string",
32
+ "description": "Mono uppercase kicker above the title"
33
+ },
34
+ "title": {
35
+ "type": "string",
36
+ "description": "Serif display headline"
37
+ },
38
+ "titleEmphasis": {
39
+ "type": "string",
40
+ "description": "Optional trailing word rendered italic + amber for emphasis"
41
+ },
42
+ "subtitle": {
43
+ "type": "string",
44
+ "description": "Supporting lead paragraph"
45
+ },
46
+ "primaryCta": {
47
+ "type": "object",
48
+ "properties": {
49
+ "label": {
50
+ "type": "string"
51
+ },
52
+ "href": {
53
+ "type": "string"
54
+ }
55
+ },
56
+ "description": "{label, href} — solid amber button"
57
+ },
58
+ "secondaryCta": {
59
+ "type": "object",
60
+ "properties": {
61
+ "label": {
62
+ "type": "string"
63
+ },
64
+ "href": {
65
+ "type": "string"
66
+ }
67
+ },
68
+ "description": "{label, href} — outline button"
69
+ },
70
+ "note": {
71
+ "type": "string",
72
+ "description": "Small mono note under the CTAs"
73
+ }
74
+ },
75
+ "slots": {
76
+ "aside": {
77
+ "description": "Right-pane visual (e.g. a rendered spec preview); hidden on mobile"
78
+ }
79
+ },
80
+ "scenarios": [
81
+ "Studio landing-page hero introducing 'AI writes the spec, the platform renders the UI'",
82
+ "Product launch hero with a spec snippet preview on the right"
83
+ ],
84
+ "constraints": [
85
+ "CTA props are {label, href}; href defaults to '#' when omitted",
86
+ "Use titleEmphasis for a single emphasis word, not the whole title"
87
+ ],
88
+ "provides": [
89
+ "Hero",
90
+ "BrowserFrame",
91
+ "SectionHeader",
92
+ "FeatureGrid",
93
+ "FeatureCard",
94
+ "CodeShowcase",
95
+ "CtaBand"
96
+ ],
97
+ "uibot": {
98
+ "schema": "uibot.registry.item.v1",
99
+ "item": "presentation",
100
+ "channel": "public",
101
+ "components": [
102
+ {
103
+ "name": "BrowserFrame",
104
+ "export": "BrowserFrame",
105
+ "module": "presentation.tsx",
106
+ "catalog": {
107
+ "name": "BrowserFrame",
108
+ "description": "Product-screenshot window shell: frames its `content` slot (or children) in a precise browser/app chrome — three traffic-light dots + a mono title/address bar — with a hairline border, long soft shadow, and an optional 3D tilt. Used to present a live-rendered UI as a product-shot visual (dogfood) instead of a static screenshot.",
109
+ "category": "presentation",
110
+ "level": "L2",
111
+ "tags": [
112
+ "frame",
113
+ "browser",
114
+ "window",
115
+ "screenshot",
116
+ "marketing"
117
+ ],
118
+ "props": {
119
+ "title": {
120
+ "type": "string",
121
+ "description": "Address/title shown in the window chrome (defaults to 'app.uibot.studio')"
122
+ },
123
+ "variant": {
124
+ "type": "string",
125
+ "enum": [
126
+ "flat",
127
+ "tilt"
128
+ ],
129
+ "default": "flat",
130
+ "description": "'tilt' adds a subtle 3D perspective tilt for a product-shot feel"
131
+ },
132
+ "tone": {
133
+ "type": "string",
134
+ "enum": [
135
+ "0",
136
+ "1",
137
+ "2",
138
+ "3"
139
+ ],
140
+ "default": "0",
141
+ "description": "Accent-hue index for the chrome address bar wash (0 amber · 1 teal · 2 rose · 3 indigo)"
142
+ }
143
+ },
144
+ "slots": {
145
+ "content": {
146
+ "description": "The UI rendered inside the frame; usually a real dashboard composed from data blocks"
147
+ }
148
+ },
149
+ "usageScenarios": [
150
+ "Hero visual framing a live-rendered mini dashboard as the product shot",
151
+ "Showcase row of small frames each rendering a different UI from the same engine"
152
+ ],
153
+ "constraints": [
154
+ "Frames the `content` slot, falling back to children; supply real spec blocks to render a live UI",
155
+ "Decorative chrome only — it does not add browser behaviour (no real address bar)"
156
+ ]
157
+ }
158
+ },
159
+ {
160
+ "name": "CodeShowcase",
161
+ "export": "CodeShowcase",
162
+ "module": "presentation.tsx",
163
+ "catalog": {
164
+ "name": "CodeShowcase",
165
+ "description": "Mono code panel with window chrome (three dots) and line numbers, used to showcase a UIBot YAML/JSON spec. Pure CSS, no syntax-highlighter dependency.",
166
+ "category": "presentation",
167
+ "level": "L2",
168
+ "tags": [
169
+ "code",
170
+ "spec",
171
+ "showcase",
172
+ "marketing"
173
+ ],
174
+ "props": {
175
+ "title": {
176
+ "type": "string",
177
+ "description": "Filename / label shown in the window chrome"
178
+ },
179
+ "code": {
180
+ "type": "string",
181
+ "description": "Raw code string; newline-separated, rendered with line numbers"
182
+ },
183
+ "caption": {
184
+ "type": "string",
185
+ "description": "Caption under the panel"
186
+ }
187
+ },
188
+ "usageScenarios": [
189
+ "Show an example UIBot YAML spec on the landing page",
190
+ "Before/after spec snippet in a docs section"
191
+ ],
192
+ "constraints": [
193
+ "code is plain text rendered verbatim with line numbers; no highlighting/escaping beyond React's default"
194
+ ]
195
+ }
196
+ },
197
+ {
198
+ "name": "CtaBand",
199
+ "export": "CtaBand",
200
+ "module": "presentation.tsx",
201
+ "catalog": {
202
+ "name": "CtaBand",
203
+ "description": "Inverted ink-black call-to-action band with grain overlay and a single amber CTA. Closes a landing page with high contrast.",
204
+ "category": "presentation",
205
+ "level": "L2",
206
+ "tags": [
207
+ "cta",
208
+ "band",
209
+ "marketing",
210
+ "conversion"
211
+ ],
212
+ "props": {
213
+ "title": {
214
+ "type": "string",
215
+ "description": "Serif headline"
216
+ },
217
+ "subtitle": {
218
+ "type": "string",
219
+ "description": "Supporting line"
220
+ },
221
+ "cta": {
222
+ "type": "object",
223
+ "properties": {
224
+ "label": {
225
+ "type": "string"
226
+ },
227
+ "href": {
228
+ "type": "string"
229
+ }
230
+ },
231
+ "description": "{label, href} — solid amber button"
232
+ }
233
+ },
234
+ "usageScenarios": [
235
+ "Final 'Start building' band at the bottom of the landing page",
236
+ "Newsletter / docs CTA between sections"
237
+ ],
238
+ "constraints": [
239
+ "Single CTA by design; cta.href defaults to '#' when omitted"
240
+ ]
241
+ }
242
+ },
243
+ {
244
+ "name": "FeatureCard",
245
+ "export": "FeatureCard",
246
+ "module": "presentation.tsx",
247
+ "catalog": {
248
+ "name": "FeatureCard",
249
+ "description": "Single hairline feature card: inline-SVG icon, serif title, body copy, and optional children. Designed to sit inside a FeatureGrid but works standalone.",
250
+ "category": "presentation",
251
+ "level": "L1",
252
+ "tags": [
253
+ "feature",
254
+ "card",
255
+ "marketing"
256
+ ],
257
+ "props": {
258
+ "icon": {
259
+ "type": "string",
260
+ "description": "lucide icon name (see FeatureGrid)"
261
+ },
262
+ "title": {
263
+ "type": "string"
264
+ },
265
+ "desc": {
266
+ "type": "string"
267
+ }
268
+ },
269
+ "usageScenarios": [
270
+ "A single emphasised feature beside a screenshot",
271
+ "Composed children inside a FeatureGrid for custom card bodies"
272
+ ],
273
+ "constraints": [
274
+ "icon resolves against the built-in inline-SVG set; unknown → dot fallback"
275
+ ]
276
+ }
277
+ },
278
+ {
279
+ "name": "FeatureGrid",
280
+ "export": "FeatureGrid",
281
+ "module": "presentation.tsx",
282
+ "catalog": {
283
+ "name": "FeatureGrid",
284
+ "description": "Responsive grid of hairline feature cards with hover lift. Renders an `items` array (icon name + title + desc) into FeatureCards, or lays out FeatureCard children directly.",
285
+ "category": "presentation",
286
+ "level": "L2",
287
+ "tags": [
288
+ "features",
289
+ "grid",
290
+ "cards",
291
+ "marketing"
292
+ ],
293
+ "props": {
294
+ "cols": {
295
+ "type": "string",
296
+ "enum": [
297
+ "2",
298
+ "3",
299
+ "4"
300
+ ],
301
+ "default": "3"
302
+ },
303
+ "items": {
304
+ "type": "array",
305
+ "items": {
306
+ "type": "object",
307
+ "properties": {
308
+ "icon": {
309
+ "type": "string",
310
+ "description": "lucide icon name (sparkles, zap, layers, code, cpu, workflow, gauge, shield, wand, boxes)"
311
+ },
312
+ "title": {
313
+ "type": "string"
314
+ },
315
+ "desc": {
316
+ "type": "string"
317
+ }
318
+ }
319
+ },
320
+ "description": "[{icon, title, desc}] feature entries"
321
+ }
322
+ },
323
+ "usageScenarios": [
324
+ "Three-up feature highlights under a SectionHeader",
325
+ "Capability grid (declarative spec, gap recovery, plugin catalog)"
326
+ ],
327
+ "constraints": [
328
+ "icon is a lucide name mapped to a built-in inline SVG; unknown names fall back to a dot",
329
+ "Provide either items or FeatureCard children — children win when present"
330
+ ]
331
+ }
332
+ },
333
+ {
334
+ "name": "Hero",
335
+ "export": "Hero",
336
+ "module": "presentation.tsx",
337
+ "catalog": {
338
+ "name": "Hero",
339
+ "description": "Asymmetric editorial hero: serif display title (with optional italic emphasis word), mono eyebrow with amber dot, warm radial-glow + blueprint dot-grid backdrop, grain overlay, staggered reveal, and primary/secondary CTAs. An optional right-side visual renders via the `aside` slot or children.",
340
+ "category": "presentation",
341
+ "level": "L3",
342
+ "tags": [
343
+ "hero",
344
+ "marketing",
345
+ "landing",
346
+ "editorial"
347
+ ],
348
+ "props": {
349
+ "eyebrow": {
350
+ "type": "string",
351
+ "description": "Mono uppercase kicker above the title"
352
+ },
353
+ "title": {
354
+ "type": "string",
355
+ "description": "Serif display headline"
356
+ },
357
+ "titleEmphasis": {
358
+ "type": "string",
359
+ "description": "Optional trailing word rendered italic + amber for emphasis"
360
+ },
361
+ "subtitle": {
362
+ "type": "string",
363
+ "description": "Supporting lead paragraph"
364
+ },
365
+ "primaryCta": {
366
+ "type": "object",
367
+ "properties": {
368
+ "label": {
369
+ "type": "string"
370
+ },
371
+ "href": {
372
+ "type": "string"
373
+ }
374
+ },
375
+ "description": "{label, href} — solid amber button"
376
+ },
377
+ "secondaryCta": {
378
+ "type": "object",
379
+ "properties": {
380
+ "label": {
381
+ "type": "string"
382
+ },
383
+ "href": {
384
+ "type": "string"
385
+ }
386
+ },
387
+ "description": "{label, href} — outline button"
388
+ },
389
+ "note": {
390
+ "type": "string",
391
+ "description": "Small mono note under the CTAs"
392
+ }
393
+ },
394
+ "slots": {
395
+ "aside": {
396
+ "description": "Right-pane visual (e.g. a rendered spec preview); hidden on mobile"
397
+ }
398
+ },
399
+ "usageScenarios": [
400
+ "Studio landing-page hero introducing 'AI writes the spec, the platform renders the UI'",
401
+ "Product launch hero with a spec snippet preview on the right"
402
+ ],
403
+ "constraints": [
404
+ "CTA props are {label, href}; href defaults to '#' when omitted",
405
+ "Use titleEmphasis for a single emphasis word, not the whole title"
406
+ ]
407
+ }
408
+ },
409
+ {
410
+ "name": "SectionHeader",
411
+ "export": "SectionHeader",
412
+ "module": "presentation.tsx",
413
+ "catalog": {
414
+ "name": "SectionHeader",
415
+ "description": "Editorial section header: oversized mono section number (e.g. '01'), mono eyebrow, serif title, and a lead paragraph. Sets the rhythm between page sections.",
416
+ "category": "presentation",
417
+ "level": "L2",
418
+ "tags": [
419
+ "section",
420
+ "header",
421
+ "marketing",
422
+ "editorial"
423
+ ],
424
+ "props": {
425
+ "sectionNo": {
426
+ "type": "string",
427
+ "description": "Oversized mono numeral, e.g. '01'"
428
+ },
429
+ "eyebrow": {
430
+ "type": "string",
431
+ "description": "Mono uppercase kicker"
432
+ },
433
+ "title": {
434
+ "type": "string",
435
+ "description": "Serif section title"
436
+ },
437
+ "lead": {
438
+ "type": "string",
439
+ "description": "Lead / intro paragraph"
440
+ }
441
+ },
442
+ "usageScenarios": [
443
+ "Numbered section dividers on a landing page (01 Features, 02 How it works)",
444
+ "Editorial chapter header above a FeatureGrid"
445
+ ],
446
+ "constraints": [
447
+ "sectionNo is display text; any string works (e.g. '01', 'A', '§1')"
448
+ ]
449
+ }
450
+ }
451
+ ]
452
+ }
453
+ }
454
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "pricing",
4
+ "type": "registry:block",
5
+ "description": "Pricing",
6
+ "registryDependencies": [
7
+ "@uibot/data",
8
+ "@uibot/feedback",
9
+ "@uibot/grid",
10
+ "@uibot/interactive",
11
+ "@uibot/layout",
12
+ "@uibot/nav"
13
+ ],
14
+ "files": [
15
+ {
16
+ "path": "lib/uibot/templates/pricing.uibot.yaml",
17
+ "target": "lib/uibot/templates/pricing.uibot.yaml",
18
+ "content": "version: \"2.0\"\npages:\n - id: pricing\n path: /\n title: Pricing\n blocks:\n - type: PageLayout\n props:\n title: Northwind\n slots:\n headerActions:\n - type: Link\n props:\n label: Product\n href: \"#\"\n variant: muted\n - type: Link\n props:\n label: Start free\n href: \"#\"\n variant: button\n children:\n - type: Box\n props:\n className: \"flex flex-col items-start gap-3 py-12 max-w-2xl\"\n children:\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: \"Pricing\"\n - type: Heading\n props:\n level: 1\n text: \"Pay when the workspace earns a seat\"\n - type: Paragraph\n props:\n size: lg\n muted: true\n text: \"Starter is free. Pro is a published monthly rate. Enterprise is a conversation — we do not invent an SLA number here.\"\n - type: Box\n props:\n className: \"border-y border-border py-6 mb-8\"\n children:\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: \"Proof · same billing language as the product, not a logo wall\"\n - type: Grid\n props:\n cols: \"3\"\n responsive: true\n gap: lg\n children:\n - type: Card\n props:\n title: Starter\n description: \"Individuals and side projects\"\n children:\n - type: Stat\n props:\n value: \"$0\"\n description: \"per workspace / month\"\n - type: Divider\n - type: List\n props:\n compact: true\n children:\n - type: Paragraph\n props:\n text: \"Up to 3 projects\"\n - type: Paragraph\n props:\n text: \"Community support\"\n - type: Paragraph\n props:\n text: \"1 GB attachments\"\n - type: Button\n props:\n label: Get started\n variant: outline\n full: true\n - type: Box\n props:\n className: \"rounded-none ring-1 ring-foreground\"\n children:\n - type: Card\n props:\n title: Pro\n description: \"Growing product teams\"\n slots:\n actions:\n - type: BadgeGroup\n props:\n items:\n - label: Recommended\n tone: info\n children:\n - type: Stat\n props:\n value: \"$24\"\n description: \"per member / month, annual\"\n - type: Divider\n - type: List\n props:\n compact: true\n children:\n - type: Paragraph\n props:\n text: \"Unlimited projects\"\n - type: Paragraph\n props:\n text: \"Priority queue\"\n - type: Paragraph\n props:\n text: \"100 GB attachments\"\n - type: Paragraph\n props:\n text: \"SSO-ready billing\"\n - type: Button\n props:\n label: Start 14-day trial\n full: true\n - type: Card\n props:\n title: Enterprise\n description: \"Security review required\"\n children:\n - type: Stat\n props:\n value: \"Talk to us\"\n description: \"scoped to your review\"\n - type: Divider\n - type: List\n props:\n compact: true\n children:\n - type: Paragraph\n props:\n text: \"SSO & SCIM\"\n - type: Paragraph\n props:\n text: \"Named success contact\"\n - type: Paragraph\n props:\n text: \"Contracted retention\"\n - type: Paragraph\n props:\n text: \"Uptime terms in the MSA — not a marketing %\"\n - type: Button\n props:\n label: Contact sales\n variant: outline\n full: true\n - type: Box\n props:\n className: \"flex flex-col gap-3 py-12 max-w-xl\"\n children:\n - type: Heading\n props:\n level: 3\n text: \"Before you pick a tier\"\n - type: Paragraph\n props:\n muted: true\n text: \"Members are unlimited on every plan. Cancel anytime. Empty seats are not billed as fake usage.\"\n - type: Button\n props:\n label: Create a free workspace\n size: lg\n",
19
+ "type": "registry:lib"
20
+ },
21
+ {
22
+ "path": "lib/uibot/templates/pricing.uibot.json",
23
+ "target": "lib/uibot/templates/pricing.uibot.json",
24
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"pricing\",\n \"channel\": \"public\",\n \"template\": {\n \"file\": \"pricing.uibot.yaml\",\n \"contract\": {\n \"name\": \"pricing\",\n \"description\": \"Pricing\",\n \"level\": \"L4\",\n \"category\": \"template\",\n \"keywords\": [\n \"pricing\",\n \"pricing\",\n \"uibot-template\"\n ],\n \"composedFrom\": [\n \"BadgeGroup\",\n \"Box\",\n \"Button\",\n \"Card\",\n \"Divider\",\n \"Grid\",\n \"Heading\",\n \"Link\",\n \"List\",\n \"PageLayout\",\n \"Paragraph\",\n \"Stat\"\n ]\n }\n }\n}\n",
25
+ "type": "registry:lib"
26
+ }
27
+ ],
28
+ "meta": {
29
+ "uibot": {
30
+ "schema": "uibot.registry.item.v1",
31
+ "item": "pricing",
32
+ "channel": "public",
33
+ "template": {
34
+ "file": "pricing.uibot.yaml",
35
+ "contract": {
36
+ "name": "pricing",
37
+ "description": "Pricing",
38
+ "level": "L4",
39
+ "category": "template",
40
+ "keywords": [
41
+ "pricing",
42
+ "pricing",
43
+ "uibot-template"
44
+ ],
45
+ "composedFrom": [
46
+ "BadgeGroup",
47
+ "Box",
48
+ "Button",
49
+ "Card",
50
+ "Divider",
51
+ "Grid",
52
+ "Heading",
53
+ "Link",
54
+ "List",
55
+ "PageLayout",
56
+ "Paragraph",
57
+ "Stat"
58
+ ]
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }