--- title: ProgressBar sidebar_label: ProgressBar --- import { StoryWithControls } from '../../../src/components/StorybookWrapper'; # ProgressBar Progress bar component for displaying completion status. Supports line, circle, and dashboard display types. ## Live Example ## Try It Edit the code below to experiment with the component: ```tsx live function Demo() { return ( ); } ``` ## All Progress Types ```tsx live function AllTypesDemo() { return (

Line

Circle

Dashboard

); } ``` ## Status Variants ```tsx live function StatusDemo() { const statuses = ['normal', 'success', 'exception', 'active']; return (
{statuses.map(status => (
{status}
))}
); } ``` ## Custom Colors ```tsx live function CustomColors() { return (
); } ``` ## Props | Prop | Type | Default | Description | |------|------|---------|-------------| | `percent` | `number` | `75` | Completion percentage (0-100). | | `status` | `string` | `"normal"` | Current status of the progress bar. | | `type` | `string` | `"line"` | Display type: line, circle, or dashboard gauge. | | `striped` | `boolean` | `false` | Whether to show striped animation on the bar. | | `showInfo` | `boolean` | `true` | Whether to show the percentage text. | | `strokeLinecap` | `string` | `"round"` | Shape of the progress bar endpoints. | ## Import ```tsx import { ProgressBar } from '@superset/components'; ``` --- :::tip[Improve this page] This documentation is auto-generated from the component's Storybook story. Help improve it by [editing the story file](https://github.com/apache/superset/edit/master/superset-frontend/packages/superset-ui-core/src/components/ProgressBar/ProgressBar.stories.tsx). :::