gentleface

Gentleface › Layout & interface › progress-bar

progress-bar icon

Progress bar: progress bar, loading bar, progress indicator, linear progress. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated progress-bar-fill · line-round

The fill advances in uneven pushes, stalling once, until the track is full. It holds, drains back to the left end and leaves an empty capsule, then grows to the drawn half.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.3 s to 3 s. Examples and helper.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M11.5 5C11.818 5 12.125 5.059 12.42 5.176C12.741 5.303 13.024 5.488 13.268 5.732C13.512 5.976 13.697 6.259 13.824 6.58C13.941 6.875 14 7.182 14 7.5C14 7.818 13.941 8.125 13.824 8.42C13.697 8.741 13.512 9.024 13.268 9.268C13.024 9.512 12.741 9.697 12.42 9.824C12.125 9.941 11.818 10 11.5 10L4.207 10C4.135 10 4.064 9.983 4 9.949C3.835 9.983 3.668 10 3.5 10C3.182 10 2.875 9.941 2.58 9.824C2.259 9.697 1.976 9.512 1.732 9.268C1.488 9.024 1.303 8.741 1.176 8.42C1.059 8.125 1 7.818 1 7.5C1 7.182 1.059 6.875 1.176 6.58C1.303 6.259 1.488 5.976 1.732 5.732C1.976 5.488 2.259 5.303 2.58 5.176C2.875 5.059 3.182 5 3.5 5C3.668 5 3.835 5.017 4 5.051C4.064 5.017 4.135 5 4.207 5L11.5 5ZM12.052 8.895C12.245 8.818 12.414 8.707 12.561 8.561C12.707 8.414 12.818 8.245 12.895 8.052C12.965 7.875 13 7.691 13 7.5C13 7.309 12.965 7.125 12.895 6.948C12.818 6.755 12.707 6.586 12.561 6.439C12.414 6.293 12.245 6.182 12.052 6.105C11.875 6.035 11.691 6 11.5 6L8 6L8 9L11.5 9C11.691 9 11.875 8.965 12.052 8.895Z"/></svg>
React
// Gentleface "progress-bar" (line-round), MIT. https://gentleface.com/icons/progress-bar
import type { SVGProps } from 'react';

export function ProgressBarIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M11.5 5C11.818 5 12.125 5.059 12.42 5.176C12.741 5.303 13.024 5.488 13.268 5.732C13.512 5.976 13.697 6.259 13.824 6.58C13.941 6.875 14 7.182 14 7.5C14 7.818 13.941 8.125 13.824 8.42C13.697 8.741 13.512 9.024 13.268 9.268C13.024 9.512 12.741 9.697 12.42 9.824C12.125 9.941 11.818 10 11.5 10L4.207 10C4.135 10 4.064 9.983 4 9.949C3.835 9.983 3.668 10 3.5 10C3.182 10 2.875 9.941 2.58 9.824C2.259 9.697 1.976 9.512 1.732 9.268C1.488 9.024 1.303 8.741 1.176 8.42C1.059 8.125 1 7.818 1 7.5C1 7.182 1.059 6.875 1.176 6.58C1.303 6.259 1.488 5.976 1.732 5.732C1.976 5.488 2.259 5.303 2.58 5.176C2.875 5.059 3.182 5 3.5 5C3.668 5 3.835 5.017 4 5.051C4.064 5.017 4.135 5 4.207 5L11.5 5ZM12.052 8.895C12.245 8.818 12.414 8.707 12.561 8.561C12.707 8.414 12.818 8.245 12.895 8.052C12.965 7.875 13 7.691 13 7.5C13 7.309 12.965 7.125 12.895 6.948C12.818 6.755 12.707 6.586 12.561 6.439C12.414 6.293 12.245 6.182 12.052 6.105C11.875 6.035 11.691 6 11.5 6L8 6L8 9L11.5 9C11.691 9 11.875 8.965 12.052 8.895Z" />
    </svg>
  );
}
Vue
Vue: see /icons/progress-bar.md
Svelte
Svelte: see /icons/progress-bar.md
HTML img
HTML img: see /icons/progress-bar.md
CSS
CSS: see /icons/progress-bar.md
Data URL
Data URL: see /icons/progress-bar.md
Sprite
Sprite: see /icons/progress-bar.md
SwiftUI
SwiftUI: see /icons/progress-bar.md
Compose
Compose: see /icons/progress-bar.md
Android XML
Android XML: see /icons/progress-bar.md
Flutter
Flutter: see /icons/progress-bar.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { ProgressBarIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
progress bar, loading bar, progress indicator, linear progress, course progress, learning progress
Alternatives
Don’t confuse with
  • toggle: a capsule with a knob is the on/off switch
  • battery: battery has a terminal nub
Also fits
  • loading: determinate progress with a known amount (progress-bar)
  • stepper: continuous progress without steps (progress-bar)
Tags
progress, progress bar, loading, loading bar, loader, percent, completion, upload progress, download progress, meter, ui, component
Category
Layout & interface
Component name
ProgressBarIcon
History
  • added
  • 20 px drawn, 24 px drawn
  • released in 0.2.0
Since
version 0.2.0

Family 92

More layout & interface icons

For agents

Metadata: /icons/progress-bar.json · Markdown: /icons/progress-bar.md · SVG: https://gentleface.com/svg/{style}/16/progress-bar.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/progress-bar.png