基本アニメーション
UI Caret
@remocn/caret
提供元 remocn
A blinking text caret — a controlled vertical bar, or a pure motion atom that blinks deterministically from useCurrentFrame.
インストール
npx shadcn@latest add @remocn/caret使いどころ
- 向いている
- Placing a blinking insertion cursor beside a text node or at the end of a typed string.
- 向いていない
- You need the full input UX (focus ring, border, value reveal) — use `input` instead, which owns its own caret.
仕様
- 長さ
- 120f · 4s
- 長さの種類
- 固定
- FPS
- 30
- スタイル
- tech
- ライセンス
- MIT