You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gradient border ring on a single existing element with `border-radius` support and graceful fallback behavior.
61
61
62
+
Options:
63
+
64
+
-`thickness?: string | number`
65
+
-`radius?: string | number`
66
+
-`colors?: string`
67
+
-`angle?: string | number`
68
+
-`animated?: boolean`
69
+
-`speed?: number`
70
+
-`disabled?: boolean`
71
+
72
+
When `animated` is enabled, the gradient colors flow around the border with CSS only. `speed` is a multiplier: `1` is the default, values above `1` are faster, and values below `1` are slower. The effect respects `prefers-reduced-motion` and falls back to a static ring when motion is reduced.
73
+
62
74
### `useSpotlightEffect(options)`
63
75
64
76
Interactive spotlight and reveal overlay for cards, media surfaces, and CTA blocks.
0 commit comments