Skip to content

Progress

Linear progress, determinate from aria-valuenow, or indeterminate without it.

CSS + mian.js JSON Markdown Registry item

Determinate

Uploading report.pdf64%

Colours, sizes, indeterminate

Installation

Everything ships in one stylesheet and one small script. There is nothing to import per component.

<link rel="stylesheet" href="https://mian.ro/dist/mian.css">
<script src="https://mian.ro/dist/mian.js" defer></script>

Prefer to own the files? /r/progress.json is a registry item with this component's CSS and example markup, ready to copy into your project with any tool that reads the open registry-item format.

Class reference

Class / attributeDescription
mn-progressBar. mian.js reads aria-valuenow/aria-valuemax and keeps it in sync.
mn-progress-sm · mn-progress-lgSizes.
mn-progress-labelLabel row above the bar.

Accessibility

  • role="progressbar" with aria-valuenow, and an accessible name. Omit aria-valuenow for indeterminate.
Choose a noodle

Minimal

Flat

Pixel

Linear

Thin

Glass

Textured

Bold

Elegant

Rounded

On this page