Files
heroui-vue/apps/docs/demos/progress-bar-custom-styles.vue
T
2026-10-22 14:33:15 +08:00

20 lines
550 B
Vue

<script setup lang="ts">
import {
Label,
ProgressBar,
ProgressBarFill,
ProgressBarOutput,
ProgressBarTrack,
} from "@heroui-vue/components";
</script>
<template>
<ProgressBar aria-label="上传进度" class="w-64" :value="45">
<Label class="font-medium text-foreground">正在上传 resume.pdf</Label>
<ProgressBarOutput class="text-xs text-muted tabular-nums" />
<ProgressBarTrack class="rounded-full bg-default">
<ProgressBarFill class="rounded-full bg-accent" />
</ProgressBarTrack>
</ProgressBar>
</template>