Skip to content

KLoadingState ​

示例 ​

Loading your data...

A loading indicator with an optional message, usable inline or as a centered block.

Props ​

NameTypeDefaultDescription
messagestring'Loading...'Text displayed next to the spinner.
size'sm' | 'md' | 'lg''md'Size of the spinner and text.
inlinebooleanfalseWhether to render as an inline element instead of a centered block.
classstring—Additional CSS classes for the root element.

Emits ​

NameParametersDescription
——This component does not emit custom events.

Slots ​

NameDescription
—This component does not provide slots.

Basic Usage ​

Fetching data...