Skip to content

MazLoadingBar ​

MazLoadingBar is an indeterminate progress bar to show that something is loading, typically at the top of a page or a container

Before use it, you should install the MazUi plugin in your project, follow instructions in Getting Started

Basic usage ​

vue
<script lang="ts" setup>
import MazLoadingBar from 'maz-ui/components/MazLoadingBar'
</script>

<template>
  <MazLoadingBar color="secondary" />
</template>

Props ​

NameDescriptionTypeRequiredDefaultPossible values
colorThe color of the component."primary" | "secondary" | "accent" | "info" | "success" | "warning" | "destructive" | "contrast" | "transparent"No"primary"'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'destructive' | 'contrast' | 'transparent'
heightThe height of the component.stringNo--