vercel/gauge
This is the open-source Tailwindcss version of Vercel’s beautiful Gauge React component to indicate a status.
Demo
View the demo here: https://gauge-demo.vercel.app
View the original Vercel design system here: Gauge
Installation
Requirements
tailwindcsstailwindcss-animate
It’s pretty easy to install. I made it a standalone component that you can copy in your codebase.
Copy the
gaugecomponentAdd keyframes and animation to your
tailwind.config.tsImport into your page
API
The Gauge component takes three props: value, size, showValue.
-
value: a number from0to100 -
size: a string (“small”, “medium”, “large”). Defaults to:"small" -
showValue: a boolean to show the number inside the gauge or not. Defaults to:true
Inspiration
- Thanks to the @vercel design team for the awesome component.
- Thanks to @shadcn who gave me a new joy for UI design.


Top comments (0)