react98

Progress

A Windows 98 progress bar with clamped value rendering.

Preview

progress.exe

Installation

pnpm dlx shadcn@latest add https://react98-ui.vercel.app/r/progress.json
npx shadcn@latest add https://react98-ui.vercel.app/r/progress.json
yarn dlx shadcn@latest add https://react98-ui.vercel.app/r/progress.json
bunx shadcn@latest add https://react98-ui.vercel.app/r/progress.json

Usage

import { Progress } from "@/components/ui/98/progress";

export function Example() {
  return <Progress value={62} />;
}

Props

PropTypeDefaultDescription
valuenumber0Current progress value.
maxnumber100Maximum progress value.
...HTMLAttributes<HTMLDivElement>N/AAll native div attributes pass through.

On this page