安静的 AI 对话页

第 1 期 · 2026年10月5日

回复边流边排好版,界面不抢戏。

之前 · 不用套件之后 · 用这套搭配
拖动中间那条线对比;鼠标移到套件上,看它用在哪。

用到的套件

4 家
打底shadcn/uiTheme: Neutralnpx shadcn@latest init
输入框prompt-kitPrompt Inputnpx shadcn@latest add https://prompt-kit.com/c/prompt-input.json
生成中的文字StreamdownStreaming markdownnpm i streamdown
图标LucideLucide iconsnpm i lucide-react

提示词

英文写的——模型照着做最稳。贴进 Cursor、Claude Code 或 v0 即可。

<goal>
Build a calm AI chat screen with shadcn/ui on the neutral theme: one centered conversation column, prompt-kit's Prompt Input pinned to the bottom with attach and send buttons, assistant replies rendered with Streamdown so markdown, code and tables stream without breaking, and Lucide icons throughout. No gradients, generous whitespace, one accent color.
</goal>

<references>
Use these kits:
- Base: Theme: Neutral from shadcn/ui (https://ui.shadcn.com), install with: npx shadcn@latest init
- Input: Prompt Input from prompt-kit (https://prompt-kit.com), install with: npx shadcn@latest add https://prompt-kit.com/c/prompt-input.json
- Streaming text: Streaming markdown from Streamdown (https://streamdown.ai), install with: npm i streamdown
- Icons: Lucide icons from Lucide (https://lucide.dev), install with: npm i lucide-react

Read each kit's official docs first. Do not rely on memory for versions, package names or APIs.
</references>

<rules>
You are a senior product designer who has shipped many mature products, responsible for both UI and interaction. Work out what the user is trying to do first, then decide how the page should look.

Use each kit's own components, with no extra CSS unless needed.
Keep existing features and data. Use theme variables for colour, and give every interactive element its states.
If a kit lacks a component you need, do not imitate it and do not build your own. Tell me clearly in your plan which component it is and which page needs it, and let me decide.
</rules>

<workflow>
1. Survey the project.
2. Plan: tell me what changes, the new dependencies and any risks.
3. Preview: write one standalone HTML file, .uinice/preview.html, showing the result at desktop and mobile widths in these kits' real look. Change no project file in this step.
4. Wait: send the plan and the preview, then stop. Do not change any project file until I clearly agree.
5. Install the kits, build it, then go through <done_when> and fix anything that fails.
</workflow>

<done_when>
1. The build command passes.
2. It works at desktop and mobile widths with no overflow.
3. It matches the preview I approved. List any difference.

Give me at the end: the commands you ran and their results, and screenshots.
</done_when>