๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข
Charts

Gauge

Speedometer-style semicircle gauge โ€” displays a single value within a range with colour feedback.

Quick Preview

0100
72%
Performance

Installation

# No extra dependencies โ€” uses SVG
// Copy component from
src/components/charts/Gauge.tsx

Usage

import Gauge from '@/components/charts/Gauge'
const scoreSegments = [
{ value: 60, color: '#F45A5A' },
{ value: 100, color: '#D94040' },
]
<Gauge
value={72}
max={100}
label="Health"
unit="%"
size={160}
strokeWidth={14}
trackColor="rgba(244, 90, 90, 0.14)"
segments={scoreSegments}
/>

Examples

Interactive Speedometer

0200
65km/h
Speed

System Dashboard

0100
43%
CPU
0100
67%
Memory
0100
23%
Disk
0100
89%
GPU

Threshold Segments

0100
94%
Service Health

Size Variants

0100
72
Small
0100
72
Default
0100
72
Large

Prompt Preview

Copy a prompt that recreates this UI

Use this prompt to ask AI for a production-ready Gauge that matches the reference styling, API surface, and interaction polish.

Copy-ready AI prompt

Starts from the current visual reference and project constraints.

Tweak only product-specific copy or data after the first generation pass.

Props

PropTypeDefaultDescription
value*number-Current value
maxnumber100Maximum value
sizenumber160Diameter in px
strokeWidthnumber14Thickness of the gauge arc
colorstring'#F45A5A'Base colour for the progress arc. Default colour enables semantic thresholds.
trackColorstring'rgba(15, 23, 42, 0.10)'Track colour behind the progress arc
labelstring-Label below gauge
unitstring-Unit suffix (e.g. "%" or " km/h")
segments{ value: number; color: string }[]-Optional thresholds that map ranges to colours
classNamestring-Additional wrapper classes