Docs
Loading

Loading

Renders an accessible label associated with controls.

Usage

vue
<script setup lang="ts">
import { Loading } from "wedges-vue";
</script>

<template>
  <Loading />
</template>

API Reference

Props

PropTypeDefault
color
'primary' | 'secondary' | null
'primary'
size
'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | null
'md'
type
'line' | 'spinner' | 'dots' | null
'line'

Examples

The following example demonstrates using the Label component alongside a Label.Helper component with the error prop.

Change the color using the color prop, or set a custom text color with a class.

Edit this page on GitHub