Menu

Progress circle

Circular progress. 5 values × 2 sizes.

72%

Installation

$ npx uix-ui@latest add progress-circle

This copies the file into components/ui/progress-circle.tsx in your project. npx shadcn@latest add @uix/progress-circle works too.

Usage

progress-circle.tsx
import { ProgressCircle } from "@/components/ui/progress-circle";

<ProgressCircle value={72} aria-label="Daily goal" />

Props

PropTypeDefaultDescription
sizesm | md"md"
valuenumber00 to 100.

Everything else is passed to the root element, so className, aria-* and event handlers work as usual.

Dependencies

Installed for you by the CLI.

  • class-variance-authority
  • clsx
  • tailwind-merge
  • lib/utils.ts
esc

↑↓ to navigate · ↵ to select · esc to close