All Projects → shwilliam → vue-loading-button

shwilliam / vue-loading-button

Licence: MIT license
👇 Vue button with slideout loading indicator

Programming Languages

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

Projects that are alternatives of or similar to vue-loading-button

Transitionbutton
UIButton sublass for loading and transition animation.
Stars: ✭ 1,124 (+2782.05%)
Mutual labels:  button, loading
awesome-web-styling
Awesome Web Styling with CSS Animation Effects ⭐️
Stars: ✭ 109 (+179.49%)
Mutual labels:  button, loading
SSSwiftUISpinnerButton
SSSwiftUISpinnerButton is a collection of various spinning animations for buttons in SwiftUI.
Stars: ✭ 37 (-5.13%)
Mutual labels:  button, loading
Buttonloading
Button Loading
Stars: ✭ 130 (+233.33%)
Mutual labels:  button, loading
guide-to-async-components
📖 Guide To JavaScript Async Components
Stars: ✭ 79 (+102.56%)
Mutual labels:  loading
react-native-whc-loading
A react native module to show loading ui, it works on iOS and Android.
Stars: ✭ 32 (-17.95%)
Mutual labels:  loading
unity-button-sounds-editor
Editor extension for Unity game engine. It helps to assign AudioClip to buttons and to play sounds by button clicks.
Stars: ✭ 65 (+66.67%)
Mutual labels:  button
vue-clap-button
👍 A Medium like clap button
Stars: ✭ 30 (-23.08%)
Mutual labels:  button
blur-up
A tool that creates preview images.
Stars: ✭ 28 (-28.21%)
Mutual labels:  loading
flutter easyloading
✨A clean and lightweight loading/toast widget for Flutter, easy to use without context, support iOS、Android and Web
Stars: ✭ 1,021 (+2517.95%)
Mutual labels:  loading
CenteredDrawableButton
Android custom button with centered drawable
Stars: ✭ 26 (-33.33%)
Mutual labels:  button
vue-github-button
Unofficial github:button component for Vue.js
Stars: ✭ 24 (-38.46%)
Mutual labels:  button
react-bones
💀 Dead simple content loading components for React and React-Native. 💀
Stars: ✭ 42 (+7.69%)
Mutual labels:  loading
AMProgressHUD
A gif progress HUD for iOS.
Stars: ✭ 18 (-53.85%)
Mutual labels:  loading
resource-loader
Getting files out of a JAR or loading a shared library is difficult. We made it easy.
Stars: ✭ 15 (-61.54%)
Mutual labels:  loading
ShapeView
打造万能shape,再也不用写很多xml了,可以当做TextView,Button,EditText等多种控件,方便实用
Stars: ✭ 34 (-12.82%)
Mutual labels:  button
Copy-button
copy textview into anywhere
Stars: ✭ 14 (-64.1%)
Mutual labels:  button
ZXLoadingView
🍕ZXLoadingView is an iOS progress-activity
Stars: ✭ 14 (-64.1%)
Mutual labels:  loading
react-native-touchable
React-Native button helper library
Stars: ✭ 46 (+17.95%)
Mutual labels:  button
CameraButton
No description or website provided.
Stars: ✭ 31 (-20.51%)
Mutual labels:  button

vue-loading-button

Straightforward Vue button with slideout loading indicator

Component example use

try it on codesandbox

Props

Prop Type Required Default Description
loading boolean false false Controls loading indicator animation
styled boolean false false Enables opinionated sample styles

Installation

Install the package from npm by running:

$ npm i vue-loading-button

or

$ yarn add vue-loading-button

Usage

Import, register and place the component in your Vue app.

<template>
  <VueLoadingButton />
</template>
import VueLoadingButton from 'vue-loading-button'

export default {
  components: {
    VueLoadingButton,
  },
}

Unstyled component example use

Note: By default, this button component will apply minimal styles to enable you to easily add your own implementation-specific CSS. To enable the more opinionated styles seen at the top of this file, pass a `styled` prop as `true` to the button.

Accessibility

Apply attributes, such as aria-label, directly on the element to apply them to the button.

<template>
  <VueLoadingButton aria-label='Send message' />
</template>

Dev

Running example script requires @vue/cli and @vue/cli-service-global to be installed. Install globally by running npm i --g @vue/cli @vue/cli-service-global or yarn add global vue/cli @vue/cli-service-global.

Contributing

This project is open to and encourages contributions! Feel free to discuss any bug fixes/features in the issues. If you wish to work on this project:

  1. Fork the project
  2. Create your feature branch (git checkout -b new-feature-branch)
  3. Commit your changes (git commit -am 'add new feature')
  4. Push to the branch (git push origin new-feature-branch)
  5. Submit a pull request!
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].