Skip to content
Onycx-ui
ESC

Project Progress Card

Report a project's progress with a counting percentage, a glowing gradient track, collaborator portraits and a details link.

Dependencies
No extra packages
Size
325 lines
Controls
9 controls

Installation

CLI · shadcn registry

npx shadcn@latest add https://ui.onycx.dev/r/project-progress-card.json

1 · Dependencies

None beyond React and Tailwind.

2 · Copy the source

components/onycx/project-progress-card.tsx

Requires React 19 and Tailwind CSS v4. Copy the source from the project-progress-card.tsx tab after tweaking: your values are baked in as the new defaults. Exported image examples use portable sample artwork. Replace it with your own media as needed.

Props

PropTypeDefaultDescription
title / tagstring"Project Progress" / "Onboarding prototype"Heading (h3) and the pill beside it. Empty tag hides the pill.
valuenumber650–100; clamped. The pill never shrinks below its own height.
duestring"Due July 28"Text in the free end of the track. Empty hides it.
collaboratorsLabel / collaboratorsstring / Collaborator[]"Collaborators" / 3 people{ name, image? }. Without an image a drawn portrait is used; the count follows the list.
ctaLabel / ctaHrefstring"More details" / "#"Glass link pill. Empty label hides it.
fromColor / toColorstring"#c6ff5a" / "#5ff6e4"Fill gradient; the glow uses the end colour.
durationnumber1600Fill and count-up time in ms on first view.
spinbooleantrueTurns the loader icon in eight steps every 1.8s.
widthnumber600Maximum width in px.