跳转到主要内容
Header
顯示進度或倒計時,從右到左移動。
  • Usage
  • Props
import { ProgressBar } from "twenty-ui/feedback";

export const MyComponent = () => {
  return (
    <ProgressBar
      duration={6000}
      delay={0}
      easing="easeInOut"
      barHeight={10}
      barColor="#4bb543"
      autoStart={true}
    />
  );
};

圓形進度條

顯示任務的進度,通常用於加載畫面或需要向用戶傳達正在進行的流程的區域。
  • Usage
  • Props
import { CircularProgressBar } from "@/ui/feedback/progress-bar/components/CircularProgressBar";

export const MyComponent = () => {
  return <CircularProgressBar size={80} barWidth={6} barColor="green" />;
};