HomeLabHire Me
ml-ui111 components

Get started

IntroductionInstallation

UI

Dots

Dot AccordionDot CalendarDot CheckboxDot CodeDot CommandDot ContentsDot CountdownDot CrossingDot FuseDot GaugeDot InstallDot KnobDot LogosDot MenuDot PaginationDot PasswordDot Price RangeDot PricingDot ProgressDot QueueDot RatingDot Reading ProgressDot SelectDot SignupDot SliderDot StatusDot StepperDot SwitchDot TabsDot ToastDot TooltipFlip-Dot CounterLED Marquee

Dither

Dither AvatarDither BannerDither CompareDither GlobeDither PortraitDither SkeletonDither TrailDither UploadDot CookiesDot DialogDot KeysDot ReceiptDot VariantsLenticular Card

More

Pollen TrailSplit-FlapTheme Toggle

Text

Dither RotatorDot TypeEnigma TextInk Print

Data viz

Dots

Contribution FieldDot BarsDot ChartDot Waffle

Dither

Dither DensityDither MapDither Stack

Media

Dots

Dot EqualizerDot WaveformVoice Note

Dither

Dither Scrubber

AI

Agent StepsAnswer VersionsCitation ChipConfidence GlassContext MeterDiffusion ImageDiffusion TextDither MaskDoc ReaderDot DictationGenerate ButtonGhost TextModel PickerPrompt BarResponse ActionsRevising TextSpoken ReplyThinking OrbThinking TraceToken MeterToken StreamWord Alternatives

Useful

Arrival TimeBest ShotCareer LineForgiving SearchGesture PadHeard AsHonest PinImage PaletteLikeness GridNear Miss SearchRain DropsSoft CorrectSpending SortSticker LiftTaste Ledger

Backgrounds

ButterfliesDandelionsDuck PondFirefliesKoi PondLight WellMarigoldsTrain WindowWhite Blossom

ml-ui / UI

Dot Gauge

A half-circle arc lit in the accent up to the reading, with the reading itself in the middle and a caption under it. Give it zones and the arc takes a zone's colour once the reading is in it, with the zones faintly marked on the unlit arc so you can see trouble coming. It eases to each new reading, and it's a meter to screen readers.

Needs: None. Canvas 2D.

Customize

Props

PropTypeDefaultDescription
valuenumberrequiredThe reading.
minnumber0The bottom of the scale.
maxnumber100The top of the scale.
format(value: number) => string–How the reading shows in the middle.
captionstring–A short name under the arc, like “CPU”.
zones{ from: number; tone: string }[]–Where warning ranges start, and their colour.
tonestring–The arc's colour in the normal range. The page's accent by default.
pitchnumber3Size of one dot in px. The gauge is 41 dots wide.
labelstring"Gauge"What it measures, for screen readers.
classNamestring–Class on the gauge.
styleCSSProperties–Style on the gauge.
← Dot FuseDot Install →