一键导入
groww-progress-bar
Progress bar component for showing completion status. Use for file uploads, multi-step forms, loading states, or task progress.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Progress bar component for showing completion status. Use for file uploads, multi-step forms, loading states, or task progress.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Accordion component with collapsible sections. Use for FAQs, nested content, or expandable details sections.
Button component with variants, sizes, loading states, and icon support. Use when creating clickable actions, forms, or navigation buttons.
Calendar component for date and month selection. Use when building date pickers, scheduling interfaces, or date range selectors.
Carousel component for image/content sliders with navigation controls. Use for image galleries, hero sections, or content that scrolls horizontally.
Checkbox component for boolean or multi-select inputs. Use when building forms with boolean toggles or multiple selection lists.
Dropdown menu component with trigger and content pattern. Use when building selectable menus, action menus, or nested navigation.
| name | groww-progress-bar |
| description | Progress bar component for showing completion status. Use for file uploads, multi-step forms, loading states, or task progress. |
import ProgressBar from '@groww-tech/ui-toolkit/dist/esm/components/atoms/ProgressBar';
// or
import { ProgressBar } from '@groww-tech/ui-toolkit';
interface ProgressBarProps {
value: number; // Progress value 0-100
width?: number | string; // Bar width
height?: number | string; // Bar height
showProgressValue?: boolean; // Show percentage text
fillColor?: string; // Progress fill color
backgroundColor?: string; // Track background color
className?: string;
dataTestId?: string;
}
<ProgressBar value={50} />
<ProgressBar
value={75}
width={300}
height={8}
fillColor="#4CAF50"
backgroundColor="#E0E0E0"
/>
<ProgressBar
value={progress}
showProgressValue={true}
/>
The component supports both linear (default) and circular variants through CSS customization.