Progress
A visual indicator of a value between a minimum and a maximum.
Code
<script lang="ts">
import { Progress } from '@geoffcox/sterling-svelte';
</script>
<Progress max="100" percent="undefined" value="35" />
Members
| Property Name | Type | Default | Comment | | disabled | boolean | false |
| max | number | 100 |
| percent | number | 0 |
| status | ProgressStatus | 'none' |
| value | number | 0 |
| variant | string | '' |
| vertical | boolean | false |
Types
| Type Name | Definition | Comment | | ProgressStatus | 'none' | 'error' | 'warning' | 'info' | 'success' |
Considerations
- Includes HTMLDivElement props, event, and methods
Anatomy
<div class="sterling-progress">
<div class="container">
<div class="indicator" />
</div>
</div>