IKHSAN
EN Read in EnglishID

homeio

Publik

Fork dari doctor-io/homeio

Branch
main
Commit terakhir
958d74616 Oktober 2026

progress-bar.tsx

Buka raw
type ProgressBarProps = {
  value: number;
  colorClassName: string;
};

export function ProgressBar({ value, colorClassName }: ProgressBarProps) {
  return (
    <div className="h-1.5 w-full overflow-hidden rounded-full bg-white/[0.10]">
      <div
        className={`h-full rounded-full transition-all duration-700 ease-out ${colorClassName}`}
        style={{ width: `${value}%` }}
      />
    </div>
  );
}
byte
413
baris
16
Jenis
tsx
Commit terakhir
16 Oktober 2026