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

Rain Drops

An hourly rain strip where every hour is a column of drops, one for each future the forecast ran. One line on top says what to do about it.

Needs: Ensemble members from a weather API, e.g. Open-Meteo's free ensemble endpoint (hourly precipitation for every member, no key). No model in the browser.

Customize

city

Props

PropTypeDefaultDescription
membersnumber[][]requiredRain in mm, members[m][h]: one row per ensemble member (one possible future), one value per hour.
hoursDate[]requiredStart of each hour, the same length as a member's row.
thresholdnumber0.1Less than this many mm in an hour counts as dry.
placestring–Shown above the strip, like "London".
timeZonestring–IANA time zone the times are read in, the place's own. The viewer's by default.
leaveAtDate–When the trip starts. The start of the strip by default.
tripMinutesnumber30How long the trip lasts at first. The stepper changes it from 15 to 180.
accentstring"#2f6fd8"Colour of the rain, any CSS colour. Left unset, a lighter blue is used in dark mode.
classNamestring–Class on the root element.
styleCSSProperties–Style on the root element. Theme it through the --mlui-* variables.
← Near Miss SearchSoft Correct →