@duskmoon/vue3-typed-js

Typed.js component in vue 3 based on Orlandster/vue-typed-js
10,727 19
Install
npm install @duskmoon/vue3-typed-js
Latest Version:0.0.4
Vue:3
License:MIT
Last Updated:Oct 20, 2026
Links: GitHub  ·  npm
Maintainer: duskmoon

vue3-typed-js

About

This is a vue3 component of Typed.js, build with vite.

This repo is based on Orlandster's great work vue-typed-js. Because the name is similar, npm suggest me to name this module @duskmoon/vue3-typed-js.

I'm a newbie of vue and creating component library. Please point out my mistake and feel free to create PR.

Usage

Install

npm install @duskmoon/vue3-typed-js

Demo

<template>
  <img alt="Vue logo" src="https://raw.githubusercontent.com/duskmoon314/vue3-typed-js/HEAD/assets/logo.png" />
  <Typed :options="options">
    <h1 class="typing"></h1>
  </Typed>
</template>

<script setup lang="ts">
import { Typed } from "@duskmoon/vue3-typed-js";
import type { TypedOptions } from "@duskmoon/vue3-typed-js";

const options: TypedOptions = {
  strings: ["Hello", "World", "This is vue3-typed-js"],
  loop: true,
  typeSpeed: 30,
};
</script>

Options

I export TypedOptions from Typed.js

Please check Typed.js

Contribute

dev

vite

Start vite dev server

build

vite build

Build into dist/

serve

vite preview

lint

eslint --ext .js,.vue src

Check if any code does not comply with the rules

lint:fix

eslint --ext .js,.vue src --fix

Not only check, but also fix

format

prettier --write .

Use prettier to format

Related Packages

markdown-to-jsx

A very fast and versatile markdown toolchain. AST, React, React Native, SolidJS,...

214,042,213 2,394
pinia

Intuitive, type safe and flexible Store for Vue

183,604,877 14,755
rolldown-plugin-dts

A Rolldown plugin to generate and bundle dts files.

113,099,869 248
@vue/eslint-config-typescript

ESLint config for TypeScript + Vue.js projects

76,955,056 192
@scalar/use-toasts

display toasts in Vue

24,371,992 16,329

Version History

Version Released Vue License
0.0.4 3.2.47 MIT
0.0.3 3.2.47 MIT
0.0.2 3.1.4 MIT
0.0.1 3.1.4 MIT