KLoading
示例
Toggle fullscreen loading
Click the button to show fullscreen loading overlay (auto-hides after 2s)
A full-screen loading overlay with a centered spinner and backdrop blur.
Props
| Name | Type | Default | Description |
|---|---|---|---|
| size | 'sm' | 'md' | 'lg' | 'md' | Size of the spinner. |
Emits
| Name | Parameters | Description |
|---|---|---|
| — | — | This component does not emit custom events. |
Slots
| Name | Description |
|---|---|
| — | This component does not provide slots. |
Basic Usage
vue
<script setup>
import { KLoading } from '@kK-2004/ui-component'
</script>
<template>
<KLoading size="lg" />
</template>