{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "ai-workspace-01", "title": "Conversation Workspace", "description": "Messages, composer, and a responsive artifact panel.", "registryDependencies": [ "@manner/artifact", "@manner/composer", "@manner/message" ], "files": [ { "path": "registry/manner/blocks/ai-workspace-01.tsx", "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { Artifact } from \"@/registry/manner/ai/artifact\"\nimport { Composer } from \"@/registry/manner/ai/composer\"\nimport { Message } from \"@/registry/manner/ai/message\"\n\nfunction AIWorkspaceBlock() {\n const [value, setValue] = React.useState(\"Turn that into an implementation checklist\")\n const [messages, setMessages] = React.useState([])\n return (\n
\n
M
Design review3 sources attached
How should this dashboard adapt on mobile?}>Keep one primary panel at a time. Replace the persistent sidebar with a sheet, and move the artifact into a full-screen drawer.{messages.map((message) => {message})}
{ setMessages((current) => [...current, message]); setValue(\"\") }} className=\"m-4\" />
\n
\n )\n}\n\nexport { AIWorkspaceBlock }\n", "type": "registry:component" } ], "type": "registry:block" }