Skip to content

AgentLoading ​

Agent loading feedback with elapsed time and multiple motion variants.

Demo ​

AgentLoadingOne public API for H5 and Wevu
Live state
Release readiness workflowAgentLoading
Agent 正在分析组件0.0s

Basic Usage ​

vue
<script setup lang="ts">
import { AgentLoading } from '@/components/agent-ui'
</script>

<template>
  <AgentLoading label="正在分析" variant="grid" />
</template>

Props ​

PropTypeDefaultDescription
activebooleantrueWhether it is active
labelstringAgent 正在处理Status label
startedAtnumber—Start timestamp
variant'grid' | 'dots' | 'orbit'gridLoader variant

Events ​

None.

Target notes

TargetImport
H5Named export from @/components/agent-ui
weapp@/components/agent-ui/AgentLoading.vue