logoNamu Design

⌘ K
  • Design
  • Development
  • Components
  • Blog
  • Resources
1.0.0
  • Components Overview
  • General
    • Button
    • FloatButtonNew
    • Icon
    • Typography
  • Layout
    • Divider
    • Grid
    • Layout
    • Space
  • Navigation
    • Anchor
    • Breadcrumb
    • Dropdown
    • Menu
    • Pagination
    • Steps
  • Data Entry
    • AutoComplete
    • Cascader
    • Checkbox
    • ColorPickerNew
    • DatePicker
    • Form
    • Input
    • InputNumber
    • Mentions
    • Radio
    • Rate
    • Select
    • Slider
    • Switch
    • TimePicker
    • Transfer
    • TreeSelect
    • Upload
  • Data Display
    • Avatar
    • Badge
    • Calendar
    • Card
    • Carousel
    • Collapse
    • Descriptions
    • Empty
    • Image
    • List
    • Popover
    • QRCodeNew
    • Segmented
    • Statistic
    • Table
    • Tabs
    • Tag
    • Timeline
    • Tooltip
    • TourNew
    • Tree
  • Feedback
    • Alert
    • Drawer
    • Message
    • Modal
    • Notification
    • Popconfirm
    • Progress
    • Result
    • Skeleton
    • Spin
    • Watermark
  • Other
    • Affix
    • AppNew
    • ConfigProvider
When To Use
Examples
Progress bar
Circular progress bar
Mini size progress bar
Responsive circular progress bar
Mini size circular progress bar
Dynamic circular progress bar
Dynamic
Custom text format
Dashboard
Progress bar with success segment
Stroke Linecap
Custom line gradient
Progress bar with steps
Progress size
API
type="line"
type="circle"
type="dashboard"
Design Token

Progress

  • PopconfirmResult

    Resources

    Namu Design Charts
    Namu Design Pro
    Namu Design Pro Components
    Namu Design Mobile
    Namu Design Mini
    Namu Design Landing-Landing Templates
    Scaffolds-Scaffold Market
    Umi-React Application Framework
    dumi-Component doc generator
    qiankun-Micro-Frontends Framework
    ahooks-React Hooks Library
    Ant Motion-Motion Solution
    China Mirror 🇨🇳

    Community

    Awesome Namu Design
    Medium
    Twitter
    yuqueNamu Design in YuQue
    Namu Design in Zhihu
    Experience Cloud Blog
    seeconfSEE Conf-Experience Tech Conference

    Help

    GitHub
    Change Log
    FAQ
    Bug Report
    Issues
    Discussions
    StackOverflow
    SegmentFault

    Ant XTechMore Products

    yuqueYuQue-Document Collaboration Platform
    AntVAntV-Data Visualization
    EggEgg-Enterprise Node.js Framework
    kitchenKitchen-Sketch Toolkit
    xtechAnt Financial Experience Tech
    Theme Editor
    Made with ❤ by
    Ant Group and Namu Design Community

    Display the current progress of an operation flow.

    When To Use

    If it will take a long time to complete an operation, you can use Progress to show the current progress and status.

    • When an operation will interrupt the current interface, or it needs to run in the background for more than 2 seconds.
    • When you need to display the completion percentage of an operation.

    Examples

    Progress bar

    A standard progress bar.

    expand codeexpand code
    Mini size progress bar

    Appropriate for a narrow area.

    expand codeexpand code
    Mini size circular progress bar

    A smaller circular progress bar.

    expand codeexpand code
    Dynamic

    A dynamic progress bar is better.

    expand codeexpand code
    Dashboard

    By setting type=dashboard, you can get a dashboard style of progress easily. Modify gapDegree to set the degree of gap.

    expand codeexpand code
    Stroke Linecap

    By setting strokeLinecap="butt", you can change the linecaps from round to butt, see stroke-linecap for more information.

    expand codeexpand code
    Progress bar with steps

    A progress bar with steps.

    expand codeexpand code
    Circular progress bar

    A circular progress bar.

    expand codeexpand code
    Responsive circular progress bar

    Responsive circular progress bar. When width is smaller than 20, progress information will be displayed in Tooltip.

    expand codeexpand code
    Dynamic circular progress bar

    A dynamic progress bar is better.

    expand codeexpand code
    Custom text format

    You can set a custom text by setting the format prop.

    expand codeexpand code
    Progress bar with success segment

    Show several parts of progress with different status.

    expand codeexpand code
    Custom line gradient

    A package of linear-gradient. It is recommended to only pass two colors.

    expand codeexpand code
    Progress size

    The size of progress.

    expand codeexpand code

    API

    Common props ref:Common props

    Properties that shared by all types.

    PropertyDescriptionTypeDefaultVersion
    formatThe template function of the contentfunction(percent, successPercent)(percent) => percent + %-
    percentTo set the completion percentagenumber0-
    showInfoWhether to display the progress value and the status iconbooleantrue
    statusTo set the status of the Progress, options: success exception normal active(line only)string-
    strokeColorThe color of progress barstring--
    strokeLinecapTo set the style of the progress linecapround | butt | square, see stroke-linecapround-
    successConfigs of successfully progress bar{ percent: number, strokeColor: string }--
    trailColorThe color of unfilled partstring--
    typeTo set the type, options: line circle dashboardstringline
    sizeProgress sizenumber | [number | string, number] | "small" | "default""default"v5.3.0

    type="line"

    PropertyDescriptionTypeDefaultVersion
    stepsThe total step countnumber--
    strokeColorThe color of progress bar, render linear-gradient when passing an object, could accept string[] when has steps.string | string[] | { from: string; to: string; direction: string }-4.21.0: string[]

    type="circle"

    PropertyDescriptionTypeDefaultVersion
    strokeColorThe color of circular progress, render linear-gradient when passing an objectstring | object--
    strokeWidthTo set the width of the circular progress, unit: percentage of the canvas widthnumber6-

    type="dashboard"

    PropertyDescriptionTypeDefault
    gapDegreeThe gap degree of half circle, 0 ~ 295number75
    gapPositionThe gap position, options: top bottom left rightstringbottom
    strokeWidthTo set the width of the dashboard progress, unit: percentage of the canvas widthnumber6

    Design Token

    Global Token

    30%
    50%
    30%
    50%
    30%
    0%
    75%
    75%
    75%
    75%
    75%
    50%

    30%


    60%
    75%
    代码发布
    0%
    75 Days
    Done
    60%
    60%
    60%
    99.9%
    99.9%
    90%
    50%
    50%
    50%


    50%
    50%


    50%
    50%


    50%
    50%
    50%
    50%