COMPONENT / 波浪背景 / V0.9.0
Tide / 波浪背景
双层 SVG 波形反向流动的水面背景,速度可调,适合页脚与分区过渡。
可调字段
| 键 | 名称 | 类型 | 范围 |
|---|---|---|---|
accent | 强调色 | color | — |
radius | 圆角 / px | number | 0 – 40 |
duration | 循环周期 / ms | number | 100 – 30000 |
title | 标题 | text | — |
subtitle | 说明 / 展开内容 | textarea | — |
label | 按钮或内容文字 | text | — |
默认参数
{
"accent": "#8fd8ef",
"radius": 18,
"duration": 2800,
"title": "让页面有潮汐。",
"subtitle": "两层波形反向流动,像水面的光。",
"label": "TIDE"
}运行依赖
react@18.3.1react-dom@18.3.1
许可
FORMA原创组件,可用于个人及商业项目;运行库遵循MIT许可。
查看实时预览 ↗返回组件中心