ianaya89 / Vue Glitch
Licence: mit
👻 Vue.js component to apply glitch effect in any kind of text
Stars: ✭ 44
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Vue Glitch
React Customizable Progressbar
Customizable circular progress bar component for React 🍩
Stars: ✭ 37 (-15.91%)
Mutual labels: component
Event Dispatcher
The EventDispatcher component provides tools that allow your application components to communicate with each other by dispatching events and listening to them.
Stars: ✭ 7,946 (+17959.09%)
Mutual labels: component
Hellobooks
A Single-Page Library Management App built with nodejs, express and react and redux
Stars: ✭ 37 (-15.91%)
Mutual labels: component
React Currency Formatter
💵 react component for currency formatting
Stars: ✭ 38 (-13.64%)
Mutual labels: component
Vue Direction
👋 Declarative, direction-aware hover in Vuejs
Stars: ✭ 35 (-20.45%)
Mutual labels: component
Shudan
A highly customizable, low-level Preact Goban component.
Stars: ✭ 43 (-2.27%)
Mutual labels: component
React Sider
Lightweight Ant Design Pro like <Sider /> component integrated with Ant Design Menu.
Stars: ✭ 42 (-4.55%)
Mutual labels: component
Vuescroll
A customizable scrollbar plugin based on vue.js for PC , mobile phone, touch screen, laptop.
Stars: ✭ 1,016 (+2209.09%)
Mutual labels: component
React Native Swipeable Cards Demo
Facebook-style swipeable cards with React Native Interactable.
Stars: ✭ 36 (-18.18%)
Mutual labels: component
Slendr
A responsive & lightweight (2KB gzipped) slider for modern browsers. [UNMAINTAINED]
Stars: ✭ 39 (-11.36%)
Mutual labels: component
Componentfixture
🛠️Interactive sandox playground for vue components
Stars: ✭ 44 (+0%)
Mutual labels: component
Vue Drag Resize
Vue Component for resize and drag elements
Stars: ✭ 1,007 (+2188.64%)
Mutual labels: component
vue-glitch
👻 Vue.js component to apply glitch effect in any kind of text
Install
$ npm i -S vue-glitch
# or
$ yarn add vue-glitch
Global Registration
// main.js
import Vue from 'vue';
import Glitch from 'vue-glitch';
Vue.component('glitch', Glitch);
Local Registration
<script>
// Component.vue
import Glitch from 'vue-glitch';
export default {
name: 'Component',
components: { Glitch }
};
</script>
Component Usage
<template>
<main>
<glitch text="Glitched"></glitch>
<glitch text="Glitched with custom color", color="tomato"></glitch>
<glitch text="Glitched with custom background", background="steelblue"></glitch>
</main>
</template>
Component Properties
name | required | default |
---|---|---|
text | true |
|
color | false |
#fff |
background | false |
#000 |
Component Styling
To apply custom styles you should care about
.glitch
and.glitch-wrapper
classes.
.glitch {
margin-bottom: 20px;
padding: 20px;
font-size: 40px;
}
.glitch-wrapper {
font-family: sans-serif;
}
Development Setup
# install dependencies
$ npm i
# dev mode
$ npm run dev
# test
$ npm run test
# build
$ npm run build
License
Style
This project was generated with generator-vue-component and was inspired by this Codepen by @anatravas
⌨️ with ❤️ by @ianaya89
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].