<div style="display: grid; gap: 1rem; max-width: 28rem">
<ray-progress value="35" label="Upload"></ray-progress>
<ray-progress value="70" color="teal" size="lg" show-value label="Build"></ray-progress>
<ray-progress value="55" color="violet" striped animated label="Sync"></ray-progress>
<ray-progress size="sm" label="Waiting for the server"></ray-progress>
</div>
import { RayProgress } from "@raylang/react";
export function ProgressExample() {
return (
<>
<div style={{ display: "grid", gap: "1rem", maxWidth: "28rem" }}>
<RayProgress value={35} label="Upload" />
<RayProgress value={70} color="teal" size="lg" showValue label="Build" />
<RayProgress value={55} color="violet" striped animated label="Sync" />
<RayProgress size="sm" label="Waiting for the server" />
</div>
</>
);
}
<template>
<div style="display: grid; gap: 1rem; max-width: 28rem">
<RayProgress :value="35" label="Upload" />
<RayProgress :value="70" color="teal" size="lg" show-value label="Build" />
<RayProgress :value="55" color="violet" striped animated label="Sync" />
<RayProgress size="sm" label="Waiting for the server" />
</div>
</template>