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 Reading Progress

A row of dots across the top fills in the accent as you read, its leading edge a stipple. Each section's start is a brighter dot: point at it to see the heading, press it to go there. It can say how many minutes are left, and follows the page's scroll or any scrolling box it's put in.

Needs: None. One thin canvas.

Customize

Props

PropTypeDefaultDescription
targetRefObject<HTMLElement>requiredThe article being read.
scrollerRefObject<HTMLElement>–The scrolling box, when it isn't the page. Put the bar inside it, first.
headingsstring"h2"Which headings mark sections. Empty for none.
readoutbooleanfalse"4 min left" under the right end.
wpmnumber230Reading pace for the readout.
offsetnumber0Height of a fixed header above it, px.
tonestring–The read part's colour. The page's accent by default.
pitchnumber4Size of one dot, px.
labelstring"Reading progress"For screen readers.
classNamestring–Class on the bar.
styleCSSProperties–Style on the bar.
← Dot RatingDot Receipt →