shadcn-vue/apps/www/src/content/docs/components/progress.md
2023-09-03 01:38:53 +08:00

863 B

title description source primitive
Progress Displays an indicator showing the completion progress of a task, typically displayed as a progress bar. https://github.com/radix-vue/shadcn-vue/tree/main/apps/www/src/lib/registry/default/ui/progress https://www.radix-vue.com/components/progress.html

<<< ../../../lib/registry/default/examples/ProgressDemo.vue

Installation

npx shadcn-vue@latest add progress
  1. Install radix-vue:
npm install radix-vue
  1. Copy and paste the component source files linked at the top of this page into your project.

Usage

<script setup lang="ts">
import { Progress } from '@/lib/registry/default/ui/progress'
</script>

<template>
  <Progress :model-value="33" />
</template>