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" value="35" />
Members
| Property Name | Type | Default | Comment |
---|
| disabled | boolean | null | undefined | false |
| max | number | undefined | 100 |
| percent | number | undefined | 0 |
| value | number | undefined | 0 |
| vertical | boolean | null | undefined | undefined |
Types
| Type Name | Definition | Comment |
---|
| ProgressOrientation | 'horizontal' | 'vertical' |
Considerations
- Includes HTMLDivElement props, events, and methods.
Anatomy
progress (<div>)
container (<div>)
indicator (<div>)