All Projects → turkyden → vue-typical

turkyden / vue-typical

Licence: MIT License
🐡 Vue Animated typing in ~400 bytes of JavaScript

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
Vue
7211 projects

Projects that are alternatives of or similar to vue-typical

typetta
Node.js ORM written in TypeScript for type lovers.
Stars: ✭ 44 (-63.64%)
Mutual labels:  typing
react-keyview
React components to display the list, table, and grid, without scrolling, use the keyboard keys to navigate through the data
Stars: ✭ 16 (-86.78%)
Mutual labels:  components
Extras
Just some extras..
Stars: ✭ 17 (-85.95%)
Mutual labels:  components
vitamin-android
Decathlon Design System UI components for Android applications
Stars: ✭ 34 (-71.9%)
Mutual labels:  components
wlui
wl-ui 精美易用的前端复杂组件解决方案。Beautiful and easy-to-use front-end complex component solution
Stars: ✭ 32 (-73.55%)
Mutual labels:  components
furl
Functional react.js components.
Stars: ✭ 33 (-72.73%)
Mutual labels:  components
Multiplatform-LiveData
Multiplatorm implementation of LiveDatas / MVVM in kotlin android & native ios
Stars: ✭ 95 (-21.49%)
Mutual labels:  components
bulma-components
Bulma CSS Components - Open-Source project
Stars: ✭ 43 (-64.46%)
Mutual labels:  components
readme-typing-svg
⚡ Dynamically generated, customizable SVG that gives the appearance of typing and deleting text. Typing SVGs can be used as a bio on your Github profile readme or repository.
Stars: ✭ 938 (+675.21%)
Mutual labels:  typing
bpit-vue
vue effects component package 🚀
Stars: ✭ 16 (-86.78%)
Mutual labels:  components
claxed
Classes with the same style of Styled-Components
Stars: ✭ 17 (-85.95%)
Mutual labels:  components
react-native-multiple-select
Customizable & Animated, Easy to Use Multiple Select Library for React Native
Stars: ✭ 31 (-74.38%)
Mutual labels:  animated
design-system
👾 A Design System for the French Health Insurance
Stars: ✭ 28 (-76.86%)
Mutual labels:  components
glue
Glue是一个基于web component构建的组件库,可以在react,vue2,vue3,angular和html等前端框架中运行
Stars: ✭ 63 (-47.93%)
Mutual labels:  components
flake8-type-checking
Flake8 plugin for managing type-checking imports & forward references.
Stars: ✭ 38 (-68.6%)
Mutual labels:  typing
zephjs
ZephJS is an easy, understandable, and ultra-light framework for defining and using Web Components.
Stars: ✭ 46 (-61.98%)
Mutual labels:  components
encore-ui
UI Framework for Encore
Stars: ✭ 49 (-59.5%)
Mutual labels:  components
animwall
Animated wallpapers for Linux
Stars: ✭ 28 (-76.86%)
Mutual labels:  animated
maslo-persona
Meet Maslo... an expressive empathetic avatar to add a personified computing layer to a project!
Stars: ✭ 20 (-83.47%)
Mutual labels:  animated
components
Components for Componentator
Stars: ✭ 65 (-46.28%)
Mutual labels:  components

English | 简体中文

Vue Typical

Vue Animated typing in ~400 bytes 🐡 of JavaScript. Preview →

npm npm license vitepress jsdelivr

Live Demo https://vue-typical.vercel.app

📦 Installation

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>

💡 This library Just support Vue 3 now

If you are Vue 2, please see the branch v1 and install [email protected]

🚀 Usage

1. Component

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>

2. Plugin API

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.

3. Composition API

You can also create typical animation by the composition API useTypical.

const ref = useTypical(options);

Coming Soon ...

📑 Properties

Prop Required Type Eg.
steps True Array<String | Number | Function> ['Hello', 1000, () => alert('Word')]
loop False Number 1 or 'Infinity'
wrapper False String 'div'

Style

Add the blink cursor effect with blink classname.

.blink::after {
  content: '|';
  animation: blink 1s infinite step-start;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

🔢 Coming Soon

  • The demo of composition API in Vue 3.0
  • Supported Vue 2 & 3

🔨 Contribute

Install dependencies,

$ npm i

Start the dev server,

$ npm start

Build documentation,

$ npm run docs:build

Build library via father-build,

$ npm run build

❤️ Contributors

Thanks goes to these people:

Contributors

Please Feel free to enjoy and participate in open source!

Stargazers

Thanks for your star!

Stargazers repo roster for @Turkyden/vue-typical

🔖 License

This library is based on @camwiegert/typical work and it currently is just a wrapper for vue.

Inspired by @catalinmiron/react-typical.

MIT © Turkyden

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].