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 Knob

Like a dial on a synth: a ring of dots lit in the accent up to the value, a body with a line of dots pointing at it, and the value underneath. Drag up or right to turn it up (Shift for fine work), scroll on it, click the ring to jump there, or use the arrow keys, Page Up and Down, Home and End. It's a slider to screen readers.

Needs: None. Canvas 2D.

Customize

Props

PropTypeDefaultDescription
valuenumber–The value. Leave unset to let the knob keep its own.
defaultValuenumber–The value at first, when value isn't set.
onChange(value: number) => void–Called as the value changes.
minnumber0The lowest value.
maxnumber100The highest value.
stepnumber1The step between values.
format(value: number) => string–How the value reads under the knob and to screen readers.
tonestring–The lit ring's colour. The page's accent by default.
pitchnumber3Size of one dot in px. The knob is 23 dots across.
disabledbooleanfalseCan't be turned.
labelstring"Knob"What it controls, for screen readers.
classNamestring–Class on the knob.
styleCSSProperties–Style on the knob.
← Dot KeysDot Logos →