WARNING: This component is in
Draft
status. This means that it is still in development and may have bugs or missing features. It is not intended to be used in production. You may use it for testing purposes.Progress
Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.
import { component$, useSignal, useVisibleTask$ } from '@builder.io/qwik';
import { Progress } from '~/components/ui';
export default component$(() => {
const progress = useSignal(20);
useVisibleTask$(() => {
setTimeout(() => {
progress.value = 50;
}, 500);
});
return <Progress bind:value={progress} />;
});