Progress
Examples
progress
primary color
secondary color
accent color
info color
success color
warning color
error color
Radial progress
Different values
Type
60%
60%
60%
60%
60%
60%
60%
60%
<div
class="w-full text-center grid grid-cols-2 lg:grid-cols-4 gap-4 justify-items-center"
>
<dv-radial-progress :value="60" />
<dv-radial-progress :value="60" type="primary" />
<dv-radial-progress :value="60" type="secondary" />
<dv-radial-progress :value="60" type="accent" />
<dv-radial-progress :value="60" type="info" />
<dv-radial-progress :value="60" type="success" />
<dv-radial-progress :value="60" type="warning" />
<dv-radial-progress :value="60" type="error" />
</div>
vue
Custom style
Custom size and custom thickness
Progress
Attributes
name | description | type | default |
---|---|---|---|
type | progress color type | neutral, primary, secondary, accent, info, success, warning, error | neutral |
value | current progress value | number | 0 |
max | max progress value | number | 100 |
RadialProgress
Attributes
name | description | type | default |
---|---|---|---|
type | progress color type | neutral, primary, secondary, accent, info, success, warning, error | neutral |
value | current progress value, 0~100 | number | 0 |
size | circle size | number, string | 5rem |
thickness | thickness size | number, string | size / 10 |