Skip to content

Skill Progress Bars

Animated Tailwind CSS skill bars for resumes and portfolios that fill and count up when scrolled into view, with grouped skills and a profile panel.

Also known as: skill bars, animated progress bars, resume skills section, portfolio skill levels, percentage bar section

Skill Progress Bars live demo

Open in new tab

Tailwind CSS code (HTML, CSS, JS)

Animated skill progress bars built with Tailwind CSS and a small vanilla JavaScript file, presented as the skills section of a resume. A dark profile panel sits next to two groups of bars that fill up with a staggered animation and count their percentages up when the section scrolls into view, a common pattern for portfolios, CV websites and freelancer landing pages.

How it works

The root is section.tsp-skills. Inside a rounded card, the aside holds the monogram, name, short bio and a dl with three stats; on large screens the card switches to a two-column grid (lg:grid-cols-[17rem_1fr]). The right side contains two groups, Design and Development, each a labeled list of skills.

Every bar is a track with role="meter" and the values in aria-valuenow, aria-valuetext and aria-labelledby. The colored fill is .tsp-fill, and its length is a plain Tailwind width such as w-[95%]. Without JavaScript the bars are therefore already at their final size.

When the script runs, it adds tsp-armed to the root, which hides each fill with clip-path: inset(0 100% 0 0 round 999px), and sets the numbers in [data-tsp-number] to 0%. An IntersectionObserver waits until a quarter of the section is visible, then adds tsp-in-view: every fill reveals from left to right, and each bar gets its own --tsp-index so the delays are staggered. A requestAnimationFrame loop counts the numbers up with the same easing, and after the last bar the tsp-done class locks in the final state. The "Replay animation" button (data-tsp-replay) resets and plays everything again.

Customization

  • aria-valuenow, aria-valuetext, the w-[95%] class on .tsp-fill and the number in [data-tsp-number]: change these together to set a skill level.
  • from-emerald-500 to-lime-400 and from-teal-500 to-sky-400 on the fills: pick your own gradient for each group, or use a solid bg-* color.
  • --tsp-duration in style.css: make the fill animation faster or slower; the counting numbers follow automatically.
  • --tsp-stagger in style.css: set the delay between bars, or 0ms to fill them all at once.
  • h-2.5 on the meter track: use h-4 for chunkier bars.
  • bg-emerald-950 on the aside: change the profile panel color, or remove the aside and the lg:grid-cols-* class to use the bars on their own.
  • threshold: 0.25 in script.js: start the animation earlier or later while scrolling.

Use cases

  • Resume websites: skill levels fill up and count their percentages when scrolled into view
  • Freelancer portfolios: group design and development skills beside a profile panel
  • CV pages: each bar shows a level label such as Advanced for screen readers and visitors
  • Personal sites: a replay button restarts the staggered animation
  • Job applications: display experience stats in a dark panel next to the bars

Accessibility

Skill levels are static values, not task progress, so each bar uses role="meter", labeled by its skill name, with aria-valuetext such as "80%, Advanced" so screen readers announce both the number and the level. The real values never change during the animation, only the visuals. The monogram and decorative circles are aria-hidden, the stats use a description list, and the replay button has a visible focus ring. Under prefers-reduced-motion: reduce the script skips the animation, hides the replay button and shows the final bars immediately.

Usage notes

Several instances can share a page: each .tsp-skills gets its own observer, but give the tsp-skill-* label ids unique values.

Skill Progress Bars at a glance

Framework
Tailwind CSS
Code
HTML, CSS, JavaScript
JavaScript
Vanilla JavaScript, no jQuery
Dependencies
Tailwind CSS
Layout
Responsive, works on mobile
Category
Progress Bars
License
Free for personal and commercial use

Questions about this template

Can I use the Skill Progress Bars code for free?

Yes. You can copy or download the code and use it in personal and commercial projects, including client work. No sign-up is needed. Reselling it as part of a component library or template collection is not allowed; see the license.

How do I add it to my website?

Load Tailwind CSS from a CDN (the links are under Requirements). Paste the HTML where the component should appear, add the CSS to your stylesheet and load the JavaScript before the closing </body> tag. Download HTML gives you a complete page with everything already linked.

Does it need jQuery or a JavaScript framework?

No. The script is plain vanilla JavaScript, so it works without jQuery, React or Vue. You can still use the markup inside those frameworks.

Does it work on mobile?

Yes. The layout adapts to small screens. Use the Mobile and Tablet buttons above the live demo to check it at phone and tablet width.

Requirements

Add these to your page (already included in the download):

  • <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>

The Tailwind browser build is for prototyping. In production, compile Tailwind with its CLI or your bundler.

Skill Progress Bars – Tailwind CSS progress bars component screenshot
Skill Progress Bars · Tailwind CSS Progress Bars

More Progress Bars

Upload Progress List – Tailwind CSS progress bars preview

Upload Progress List

Dark Tailwind CSS upload list with per-file progress bars, speed and time left, pause, resume, retry and remove actions, a queue and total progress.

Circular Progress Indicator – Pure CSS progress bars preview

Circular Progress Indicator

SVG ring progress indicators with an animated fill, count-up percentage, glow colors and a slider-driven demo ring with color thresholds.

Animated Progress Bars – Bootstrap 5 progress bars preview

Animated Progress Bars

Bootstrap 5 dark dashboard with labelled bars that fill on scroll, a striped animated build progress bar and a stacked storage bar.