指南 / 动效

聚光灯

页面其余部分变暗,只有光标周围一圈被照亮,适合把用户注意力引到某个区域,氛围感神器。

在线演示

移动聚光灯

实现提示词

标准

Spotlight effect: dark overlay with a 200px radial light following the cursor, revealing content underneath.

含动效

Cursor-tracked spotlight (220px radius, soft edge) over a dimmed section; light eases toward the pointer.
设计规范条目
### Spotlight (#spotlight)

Category: Motion

Spotlight: the page dims except a circle around the cursor. Directs attention exactly where you want—pure atmosphere.

- Do: Spotlight effect: dark overlay with a 200px radial light following the cursor, revealing content underneath

With motion: Cursor-tracked spotlight (220px radius, soft edge) over a dimmed section; light eases toward the pointer.

Live demo: https://uidesignmd.com/guides/spotlight/

规范包

从所选指南中导出实现规则和链接。

已选指南 0 / 20