Now In Code

带 AI 助手的健康仪表盘

首页有带放射虚线的健康分和四张指标卡;分析页有带预测的心率折线和四张迷你图表;助手页有渐变光球和建议 chips。Tab 与 AI 按钮可切屏。

灵感来自 @uimamun615 在 X 上发布的设计由 Now In Code 从零重建

Agent 提示词

Add the Now In Code component "ai-health-dashboard-with-assistant" to this project.

The full source is attached at the end of this prompt. Put the files under components/ai-health-dashboard-with-assistant/, 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 作品。提示词包含完整源码。开始使用

详情

平台
iOS、Android
依赖
Expo SDK 54+
权限
Pro
更新于
2026年10月23日
许可证
无限商业项目
原始设计
@uimamun615(X)

你是设计者吗? 请求我们修改或下架此作品.

CLI 与 MCP 服务器 即将推出

在终端添加作品,或让智能体自行获取。在此之前,用“复制提示词”也能做到。 文档

功能说明

健康应用的三个浅蓝色页面。首页是一组指标卡片,其中包括卡路里仪表弧和步行圆环,底部是悬浮的胶囊导航栏,右侧有圆形 AI 按钮。分析页用一排刻度线表示心率,其中一根柱子被高亮,另有一个卡路里弧形图。助手页中央是一个有光泽、看似三维的球体,下方是提示输入区。标签栏通过滑动的选中胶囊在首页和分析页之间切换,点击 AI 按钮打开助手,返回按钮则回到上一页。

实现方式

共享的 JavaScript 核心为每个页面输出一个显示列表,内容以点为单位,包括盒子、文字、SVG 图形和图片,文字按基线定位。React Native 组件用 react-native-svg 绘制该列表,并通过 expo-font 加载字体。球体由八层叠加的线性和径向渐变组成,并裁剪为圆形,既不是着色器,也不是 Skia,因此只要支持 SVG 即可运行。仪表弧、刻度图表和图标都是 SVG 路径,没有使用动画库。

适用场景

  • 带有少量核心指标的健康或健身首页
  • 以单个主视觉球体为核心的 AI 助手落地页
  • 带悬浮胶囊和独立助手入口的标签栏

依赖

react-native-svgexpo-fontreact-native

标签

3D 物体AI 助手数据分析头像按钮卡片图表光效辉光渐变健康健身首页图标浅色列表极简形变导航栏个人主页进度条转场搜索栏设置页拟物3D状态切换系统界面标签栏

相关作品