纹样扩散启动页与注册揭晓
白屏上文字由模糊变清晰,铅笔颗粒质感的几何纹样带颗粒溶解边从中心向外扩散。珊瑚红到金色的柔光自底部扫上,文字淡出,纹样减半并向下渐隐,随后注册引导语逐词模糊浮现。
灵感来自 @dwijaxo 在 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 "pattern-spread-splash-with-sign-up" to this project. The full source is attached at the end of this prompt. Put the files under components/pattern-spread-splash-with-sign-up/, 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日
- 许可证
- 无限商业项目
- 原始设计
- @dwijaxo(X)
你是设计者吗? 请求我们修改或下架此作品.
CLI 与 MCP 服务器 即将推出
在终端添加作品,或让智能体自行获取。在此之前,用“复制提示词”也能做到。 文档
功能说明
健康应用的启动页,最后进入注册页。白色屏幕上,字标先模糊地淡入,然后一个带铅笔颗粒质感的几何图案从中心向外扩散到其后方。柔和的珊瑚色到金色的光从屏幕底部向上扫过,字标经过时淡出,光晕最后停在顶部,变成金色的光环。随后标题逐词从模糊中浮现,接着是副标题、三个登录按钮和条款文字,它们出现后即可点按。
实现方式
背景图案和光晕都是 Skia 画布上的一个 SkSL 片段着色器,同一画布也绘制文字和按钮。图案由超椭圆、圆弧和傅里叶轮廓形状构成,并折叠到一个象限中,因此只计算四分之一。共享核心中的纯帧函数将所有动画值和着色器 uniform 作为 worklet 返回,由 Reanimated 通过帧回调驱动时钟。按钮上方放置了透明的可按压区域。组件提供冻结时间、重新开始动画以及接收点击的属性。
适用场景
- 直接进入注册的应用启动页
- 使用生成背景而非图片资源的品牌启动页
- 需要平静柔和入场效果的健康或养生产品
依赖
@shopify/react-native-skiareact-native-reanimatedreact-native标签
模糊过渡按钮光效辉光渐变颗粒质感健康健身浅色极简引导页路径描绘揭示转场着色器登录注册柔和治愈错峰入场文字动画