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 / Useful

Arrival Time

An arrival time drawn from many predictions instead of one. Digits they agree on are crisp, the ones they don't go soft, and a wide spread becomes a window.

Needs: Arrival samples from your own predictor (Monte Carlo draws, an ensemble or quantiles). No model in the browser.

Customize

kind
tracking

Props

PropTypeDefaultDescription
samplesnumber[]requiredPredicted arrival times in ms since epoch. 20 or more reads well.
kind"drive" | "delivery""drive"A drive is told to the minute when it can be; a parcel never is until it's at the door.
tracking"live" | "scheduled""live"Scheduled means a timetable with no live position: shown hollow and labelled, never just blurred.
labelstring"Arrive"Over the time. "Arriving" by default for a delivery.
nownumber–The current time, for today/tomorrow wording, the chance it comes today and staleness.
bynumber–When it's needed by. Puts a draggable line through the spread.
departsnumber–When the trip starts, if it hasn't yet. Adds "leave by".
updatednumber–Time of the last real tracking event; older than staleAfter marks the estimate as not updating.
staleAfternumber7200000ms before an estimate counts as stale.
statusstring–What's known for sure, said after the chance: "Not out for delivery yet".
localestring–Locale for times. The runtime's by default.
timeZonestring–Time zone for times.
Best Shot →