A typewritter effect for vue3 and typescript
- 📝 Pure string input support
- Vue component support
- TSX/JSX grammer support
- 🔫 Customizable styles for each step
- 🚀 Each step supports custom speed
- 🚅 Chain call support
<template>
<div id="typewritter"></div>
</template>
<script setup lang="tsx">
import { Typewriter } from 'vue-typewritter';
const typewriter = new Typewriter('#typewritter');
onMounted(() => {
nextTick(() => {
typewriter.setText('Hello World!');
});
});
</script>
🎩 From v1.0, it works for Vue 2 & 3
npm i vue-typewriter
MIT License © 2024-PRESENT Norvan CC