Captions
Compositions
Core Primitives
Transitions
Typography
- Blur Reveal
- Staggered Fade Up
- Masked Slide Reveal
- Tracking In
- Inline Highlight
- Marker Highlight
- Shimmer Sweep
- Typewriter
- Text Fade Replace
- Slot Machine Roll
- Infinite Marquee
- Perspective Marquee
- Matrix Decode
- RGB Glitch Text
- Strikethrough Replace
- Blur Out Up
- Bottom Up Letters
- Top Down Letters
- Per Character Rise
- Soft Blur In
- Micro Scale Fade
- Scale Down Fade
- Focus Blur Resolve
- Spring Scale In
- Line by Line Slide
- Mask Reveal Up
- Short Slide Right
Customize
32
1
Installation
$ pnpm dlx shadcn@latest add @framecn/simulated-cursor
Usage
import { SimulatedCursor } from "@/components/framecn/simulated-cursor";<SimulatedCursor />API Reference
SimulatedCursor
| Prop | Type | Default |
|---|---|---|
points | CursorPoint[] | DEFAULT_POINTS |
color | string | "#ffffff" |
size | number | 32 |
background | string | "#0a0a0a" |
speed | number | 1 |
fps | number | 30 |
durationInFrames | number | 150 |
className | string | - |
Notes
Inline SVG cursor
The cursor is drawn as inline SVG, so you don't need to copy anything into
public/. Drop the component into any composition and it just works.