Cards
CreativeCursor Card
View, Play, Open: a round cue trails the pointer on a spring. For portfolio tiles and video thumbnails.
Install
Included with Creative: needs your API key. Initialize and log in once.
npx @galactrex/ui add cursor-cardUsage
import { CursorCard } from "@/components/galactrex/cursor-card";
<CursorCard cue="Play" href="/trailer/">…</CursorCard>Source
Installs to components/galactrex/cursor-card.tsx, with the shared motion primitives beside it.
Source for this component comes with its plan. Install it with the command above, or open your licensed copy here.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | — | Content. |
cue | string | "View" | Cursor word. |
href | string | — | Makes the whole card one link. |
className | string | — | Extra classes for the outer element. |
Variants
- Video. cue="Play".
Accessibility
- Only replaces the cursor for mice; keyboard focus shows the cue as a badge.
Motion and reduced motion
- Spring-following label.