Pilates
    Preparing search index...

    Interface ProgressBarProps

    interface ProgressBarProps {
        color?: Color;
        emptyChar?: string;
        fillChar?: string;
        indeterminate?: boolean;
        interval?: number;
        scannerWidth?: number;
        total?: number;
        trackColor?: Color;
        value?: number;
        width?: number;
    }
    Index

    Properties

    color?: Color

    Color applied to filled cells.

    emptyChar?: string

    Empty-section character. Default '░'. Single grapheme assumed.

    fillChar?: string

    Filled-section character. Default '█'. Single grapheme assumed.

    indeterminate?: boolean

    When true, animates a bouncing scanner instead of using value/total.

    interval?: number

    Indeterminate scanner step interval in ms. Default 80.

    scannerWidth?: number

    Indeterminate scanner cell width. Default 3, clamped to [1, width].

    total?: number

    Total value. Default 100. Values <= 0 render as fully empty.

    trackColor?: Color

    Color applied to empty cells.

    value?: number

    Current value. Clamped to [0, total]. Ignored when indeterminate is true.

    width?: number

    Bar width in terminal cells. Default 20.