启动页收成图标与弯曲封面墙
橙色渐变启动页硬切成全宽矩形,再以弹簧收成 80pt App 图标,过冲时压成扁胶囊。登录按钮带模糊上浮。随后三列播客封面从灵动岛下滚出,越靠上越向后弯折成钟形。
灵感来自 @gow88_ 在 X 上发布的设计由 Now In Code 从零重建
import { Piece } from "./components";
export function Example() {
const progress = useSharedValue(0);
…
export function Example() {
const progress = useSharedValue(0);
…
Agent 提示词
Add the Now In Code component "splash-to-icon-squash-with-bending" to this project. The full source is attached at the end of this prompt. Put the files under components/splash-to-icon-squash-with-bending/, 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年11月23日
- 许可证
- 无限商业项目
- 原始设计
- @gow88_(X)
你是设计者吗? 请求我们修改或下架此作品.
CLI 与 MCP 服务器 即将推出
在终端添加作品,或让智能体自行获取。在此之前,用“复制提示词”也能做到。 文档
功能说明
播客应用的启动序列。橙色全屏启动页静止片刻,然后切到黑色,启动页矩形缩小为应用图标,图形同步缩放。灵动岛后方出现光晕。一面由生成的播客封面组成的墙从地平线滚动升起,分为三列,向屏幕顶部弯曲远去,底部渐隐为黑色,并持续滚动。标题、一行正文和两个按钮以弹簧效果出现在其上。
实现方式
封面墙是固定拓扑的网格,共 3 列 × 8 行,每张封面被切成若干条带以便弯曲。网格由共享的 JavaScript 核心生成,用 Skia 的 vertices 图元和作用于封面图集的图像着色器绘制,并由 Reanimated 在 UI 线程上每帧重新生成。曲线是根据实测的列位置和滚动速度拟合的经验查找表,并非物理相机模型。图标缩小、光晕和文字弹簧由同一时间线驱动,文字在画布之上使用 Reanimated 动画样式。
适用场景
- 媒体、播客或音乐应用的启动页或欢迎页面
- 放在注册文案后方、不断滚动的弯曲图片墙
- 在首屏之前变形为应用图标的启动页
依赖
@shopify/react-native-skiareact-native-reanimatedreact-native-svgreact-native标签
模糊过渡按钮轮播深色灵动岛光效辉光渐变图标形变音乐音频引导页视差内容阅读转场滚动驱动登录注册弹簧错峰入场