VOOZH about

URL: https://www.geeksforgeeks.org/css/primer-css-small-progress/

โ‡ฑ Primer CSS Small Progress - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Primer CSS Small Progress

Last Updated : 23 Jul, 2025

Primer CSS is a free open-source CSS framework that is built upon systems that create the foundation of the basic style elements such as spacing, typography, and color. This systematic method makes sure our patterns are steady and interoperable with every other. Its approach to CSS is influenced by object-oriented CSS principles, functional CSS, and BEM architecture. It is highly reusable and flexible. It is created with GitHubโ€™s design system.

Primer CSS offers various progress bars such as large, small, and inline. In this article, we will discuss small progress. The small progress bar is a little smaller than the default progress bar.

Primer CSS Small Progress Class:

  • Progress--small: This class is used to create a small progress bar than the default one.

Syntax:

<span class="Progress Progress--small">
 <span class="Progress-item 
 color-bg-color-name-emphasis" >
 ...
 </span>
</span>

Note: color-name can be primary, success, alert, warning, etc.

Example 1: This example demonstrates the use of the Primer CSS Small progress using Progress--small and color-bg-success-emphasis classes.

Output:

๐Ÿ‘ Image

Primer CSS Small Progress

Example 2: This is another example that demonstrates the use of the Primer CSS Small progress using Progress--small and color-bg-danger-emphasis classes.

Output:

๐Ÿ‘ Image
Primer CSS Small Progress

Reference: https://primer.style/#small-progress 

Comment