AI 通话转写:从思考到发声
三张卡片的方案区块。其中一张先显示带扫光的 Thinking,再变为带跳动竖条的 Speaking,文字由糊变清,随后出现用户气泡和从右向左的阿拉伯语回复;另一张逐笔写出多语问候。
灵感来自 @arthur_designss 在 X 上发布的设计由 Now In Code 从零重建
import { AI } from "./components";
export function Example() {
const progress = useSharedValue(0);
…
export function Example() {
const progress = useSharedValue(0);
…
Agent 提示词
Add the Now In Code component "ai-call-transcript-thinking-to-speaking" to this project. The full source is attached at the end of this prompt. Put the files under components/ai-call-transcript-thinking-to-speaking/, install the listed dependencies with `npx expo install`, and render it on a route I can open. Keep the timing and easing values documented in the source comments. Replace the sample copy and artwork with content from my app, or leave placeholders and list what I still need to supply. === Source files are attached here for paid plans ===
Pro 作品。提示词包含完整源码。开始使用
详情
- 平台
- Web
- 依赖
- Expo SDK 54+
- 权限
- Pro
- 更新于
- 2026年11月20日
- 许可证
- 无限商业项目
- 原始设计
- @arthur_designss(X)
你是设计者吗? 请求我们修改或下架此作品.
CLI 与 MCP 服务器 即将推出
在终端添加作品,或让智能体自行获取。在此之前,用“复制提示词”也能做到。 文档
功能说明
一个网页风格的区块,包含标题和三张卡片。第一张是一位客服人员的照片,配有耳麦图标、标题和一段简短说明。第二张是丝绸纹理的卡片,循环播放通话记录:一个带扫光的 Thinking 胶囊从模糊中出现,然后变成 Speaking 胶囊,其中的条形跳动;回复逐词从模糊中浮现,胶囊随后收起。接着出现来电者的玻璃气泡,然后是从右到左显示的阿拉伯语回复、预订确认条,最后淡出。第三张卡片用单线白色笔画书写问候语再擦除,文字包括拉丁字母和阿拉伯字母。
实现方式
共享的 JavaScript 核心保存几何数据、颜色和循环的时间线(循环时长略超过十九秒),并为聊天卡片和手写卡片返回帧数据。React Native 组件用 react-native-svg 和 Text 渲染这些帧,用 expo-blur 实现玻璃气泡,并加载多个 Expo 字体包,分别用于衬线标题、界面文字和阿拉伯文。手写不是字体:每一笔都是从参考图经细化处理还原出的折线,每个点带有书写时间和擦除时间,因此任意时刻只绘制可见的部分。
适用场景
- 展示动态对话的语音或通话助手落地区块
- 带从右到左文字的多语言问候展示
- 混合照片、实时演示和绘制动画的卡片网格
依赖
react-native-svgexpo-blur@expo-google-fonts/inter@expo-google-fonts/inter-tight@expo-google-fonts/newsreader@expo-google-fonts/noto-sans-arabicreact-native标签
AI 助手声波可视化模糊过渡卡片聊天标签胶囊杂志排版图标浅色品牌营销极简路径描绘揭示扫光错峰入场状态切换文字动画语音助手