# Progress Circle

Circular progress indicator using Unicode braille



<ComponentPreview base="opentui" name="progress-circle-demo" />

Installation [#installation]

<CodeTabs>
  <TabsList>
    <TabsTrigger value="cli">
      Command
    </TabsTrigger>

    <TabsTrigger value="manual">
      Manual
    </TabsTrigger>
  </TabsList>

  <TabsContent value="cli">
    ```bash
    npx shadcn@latest add @termcn/opentui-progress-circle
    ```
  </TabsContent>

  <TabsContent value="manual">
    <Steps>
      <Step>
        Copy and paste the following code into your project.
      </Step>

      <ComponentSource base="opentui" name="progress-circle" title="components/ui/progress-circle.tsx" />

      <Step>
        Update the import paths to match your project setup.
      </Step>
    </Steps>
  </TabsContent>
</CodeTabs>

Usage [#usage]

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

```tsx
<ProgressCircle value={75} size="sm" label="Memory" showPercent />
```

Examples [#examples]

Sizes [#sizes]

<ComponentPreview base="opentui" name="progress-circle-sizes" />

API Reference [#api-reference]

ProgressCircle [#progresscircle]

| Prop          | Type                   | Default    |
| ------------- | ---------------------- | ---------- |
| `value`       | `number`               | `required` |
| `size`        | `"sm" \| "md" \| "lg"` | `"sm"`     |
| `color`       | `string`               | -          |
| `label`       | `string`               | -          |
| `showPercent` | `boolean`              | `false`    |
