Skip to content

Semicircle gauges

Three semicircle gauges whose needle swings to the value, with figure, label and source readable as text, in pure CSS.

  • Tailwind
  • React
  • CSS
  • WordPress
Open in a new tab

Description

To highlight measurable commitments (satisfaction, deadlines met, average rating) or a charity’s indicators: each gauge is an arc filled up to its value by a conic gradient, with a needle starting at zero and swinging to the right position on load, with a slight overshoot. A single --sjs-value variable (0 to 100) sets both the arc and the needle; the displayed figure can be a percentage or a rating (“4.6 / 5”). The drawing is decorative and hidden from screen readers: the value, the level 3 heading and the source are real text, readable without relying on colour. No image, chart library or script; only the needle rotation is animated, once, and not at all with prefers-reduced-motion. Colours via variables, AA contrast in light and dark mode, a grid that drops to one column at 360 px. Example: a plumber’s commitments.

Code

Loading the code…

The code of this component in

Archive contents

stats-jauge-semi-circulaire-html-tailwind.zip3 files · 4 Ko

  • index.html5 Ko
  • README.md4 Ko
  • LICENSE.md1 Ko

Tags

Updated on December 2, 2026.

Reviews

No reviews yet.

In the same spirit

  • A client area page for a small business website: sidebar, four metrics (visits, requests, reply rate and reply time) with their change, an SVG line chart per period and a filterable table of the latest messages, with no chart library.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A row of guarantees (ten-year insurance, free quote, call-out within 24 hours, RGE and Qualibat labels) that reassures visitors right below the call to action.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Four key figures in cards that count up from zero to their value when the section scrolls into view, with icon, unit and label.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • The amount raised, a progress bar toward the goal, the number of backers and days left.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component