
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
vue-typical
Advanced tools
English | 简体中文
Vue Animated typing in ~400 bytes 🐡 of JavaScript. Preview →
Live Demo ✨ https://vue-typical.vercel.app
Install with yarn
yarn add vue-typical
Or you can
npm install vue-typical
Or inject the script at your page by jsdelivr CDN
<script src="https://cdn.jsdelivr.net/npm/vue-typical@latest/dist/vue-typical.umd.js"></script>
You can import it as a custom component.
<template>
<v-typical
class="blink"
:steps="['Hello', 1000, 'Hello World !', 500, 'Hello World ! 👋', 1000]"
:loop="Infinity"
:wrapper="'h2'"
></v-typical>
</template>
<script lang="ts">
import VTypical from 'vue-typical';
export default {
components: {
VTypical,
},
};
</script>
If you want to configure default options, you can register this plugin through the use API of Vue.js.
// main.js or index.js
import VTypical from 'vue-typical';
Vue.use(VTypical, {
/* options */
});
If you use the plugin API, the VTypical component will be registered as a global component just like when including it with the script tag, but you won't need to re-register it through the components property in your own components.
You can also create typical animation by the composition API useTypical.
const ref = useTypical(options);
Coming Soon ...
| Prop | Required | Type | Eg. |
|---|---|---|---|
steps | True | Array<String | Number | Function> | ['Hello', 1000, () => alert('Word')] |
loop | False | Number | 1 or 'Infinity' |
wrapper | False | String | 'div' |
Add the blink cursor effect with blink classname.
.blink::after {
content: '|';
animation: blink 1s infinite step-start;
}
@keyframes blink {
50% {
opacity: 0;
}
}
Install dependencies,
$ npm i
Start the dev server,
$ npm start
Build documentation,
$ npm run docs:build
Build library via father-build,
$ npm run build
Thanks goes to these people:
Please Feel free to enjoy and participate in open source!
Thanks for your star!
This library is based on @camwiegert/typical work and it currently is just a wrapper for vue.
Inspired by @catalinmiron/react-typical.
FAQs
Vue Animated typing in ~400 bytes 🐡 of JavaScript.
We found that vue-typical demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.