애니메이션

Gradient Cursor

커서를 rAF lerp로 부드럽게 추격하는 그라데이션 글로우 원. blur와 mix-blend-mode로 은은하게 표현되며 컨테이너 내부로 한정된다.

분류
애니메이션
난이도
medium
변형
TS-TW

설치

npx shadcn@latest add https://gasan.ai.kr/tools/effect/r/GradientCursor-TS-TW

Props

이름타입기본값설명
colorAstring#C084FC글로우 중심 색상 (기본: 바이올렛)
colorBstring#EC4899글로우 외곽 색상 (기본: 마젠타)
sizenumber240글로우 원 지름(px)
smoothingnumber0.14추격 부드러움 (0~1, 작을수록 느리고 부드러움)
blurnumber40blur 강도(px)
blendbooleantruemix-blend-mode(screen) 사용 여부
classNamestringundefined컨테이너 추가 클래스
childrenReact.ReactNodeundefined컨테이너 내부에 표시할 콘텐츠