带滚动分数图表的理财 App
信用分柱状图错峰生长,点选月份时分数滚动;底栏胶囊形变并横向分页到 Bills 与 Spending;环形图分裂出多个分段。Budget 金额逐位滚动,保存后图标飞入对应行。
灵感来自 @movindesign_ 在 X 上发布的设计由 Now In Code 从零重建
import { App } from "./components";
export function Example() {
const progress = useSharedValue(0);
…
export function Example() {
const progress = useSharedValue(0);
…
Agent 提示词
Add the Now In Code component "finance-app-with-rolling-score-charts" to this project. The full source is attached at the end of this prompt. Put the files under components/finance-app-with-rolling-score-charts/, 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日
- 许可证
- 无限商业项目
- 原始设计
- @movindesign_(X)
你是设计者吗? 请求我们修改或下架此作品.
CLI 与 MCP 服务器 即将推出
在终端添加作品,或让智能体自行获取。在此之前,用“复制提示词”也能做到。 文档
功能说明
一个六屏理财应用,显示在静态设备框中:引导页、带信用分和柱状图的首页、账单、支出明细、预算页,以及用于添加金额的底部面板。点击创建账户会让按钮变灰,内容模糊并淡化为白色,然后首页升起,同时分数从 8,132 计数到 9,284。打开支出时会绘制环形图,其中粉色和橙色段从蓝色段分离出来。切换标签页时,整页在白色药丸下方横向滑动。在面板中,输入数字时数字滚动变化,柱子带过冲地增长;保存时图标飞入某个分类行,并有粉色光晕扫过该行。
实现方式
共享 JavaScript 核心保存状态、点击测试和显示列表。状态只记录每次用户操作的时间戳,所有动画都是距该操作时间的闭式函数,因此任何帧都可以精确复现。React Native 组件用 react-native-svg 绘制列表,并在 requestAnimationFrame 循环中运行。图标以源码中的路径绘制,未使用图标库、图片资源或动画库。
适用场景
- 需要信用分、支出环形图和柱状图的个人理财或预算应用
- 数值变化时在仪表盘上计数和滚动的数字
- 由一个确定性状态对象驱动的多屏流程参考
依赖
react-native-svgreact-native标签
数据分析头像底部弹层按钮卡片图表工作协作交叉淡化深色拖拽金融钱包飞入飞出渐变首页图标浅色列表极简形变导航栏数字滚动数字按压反馈进度条转场滚动驱动设置页扫光弹簧错峰入场滑动手势标签栏文字动画