COMPONENT / Background / V0.9.0
Halo / 追光背景
指针位置驱动局部光场;触摸设备使用稳定的中心构图。
可调字段
| 键 | 名称 | 类型 | 范围 |
|---|---|---|---|
accent | 强调色 | color | — |
radius | 圆角 / px | number | 0 – 40 |
title | 标题 | text | — |
subtitle | 说明 / 展开内容 | textarea | — |
默认参数
{
"accent": "#eab09b",
"radius": 18,
"duration": 360,
"title": "Follow your curiosity.",
"subtitle": "移动指针,光会随你而来。"
}运行依赖
react@18.3.1react-dom@18.3.1
许可
FORMA原创组件,可用于个人及商业项目;运行库遵循MIT许可。
查看实时预览 ↗返回组件中心