ProgressRing
Circular progress ring with SVG rendering
Accessibility
- Do not rely on transient feedback as the only place critical workflow information appears.
- Label dismiss or retry actions explicitly so their purpose is announced.
Styled quick start
Copy this entrypoint first. It includes the imports required to get the component on screen.
svelte
<script lang="ts">
import '@dryui/ui/themes/default.css';
import '@dryui/ui/themes/dark.css';
import { ProgressRing } from '@dryui/ui';
</script>
<ProgressRing>Content</ProgressRing> Import options
Root package
ts
import { ProgressRing } from '@dryui/ui' Per-component subpath
ts
import { ProgressRing } from '@dryui/ui/progress-ring' API
Props, CSS variables, and the public data attributes you can target when styling.
| Prop | Type | Description | Default | Required | Bindable |
|---|---|---|---|---|---|
| color | primarygraygreenredyellow | Semantic color or tone applied to the component. | 'primary' | — | — |
| indeterminate | boolean | — | false | — | — |
| value | number | Current controlled or bindable value. | — | — | — |
| max | number | Maximum allowed value. | 100 | — | — |
| size | number | Size preset affecting density, spacing, or typography. | 40 | — | — |
| strokeWidth | number | — | 4 | — | — |