Typewriter
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardTypewriter(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/card-typewriterAbout this component
Hover erases the card title and description character-by-character then retypes new content, terminal-style with a blinking cursor visible during the erase/type phases. Mouse leave reverses the animation back to the original text.
Triggers
- Hover
- State change
Techniques
- CSS variables
- Keyframes
Difficulty
Intermediate
Accessibility
Reduced motion
Skip erase/retype; swap text directly and hide the blinking cursor.
Use it in anything you build, commercial and client work included. Licence
More cards
See allSignups
Last 8 weeks
4,812+18%
- Week 6: launch week, the peak.
- Week 3: outage.
Oban → Craignure
Walnut · bellows in good order