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 / Data viz

Contribution Field

Your GitHub year as a field of dots: busy days bigger and deeper, quiet ones a faint grain, growing in week by week as it comes into view. The days under your cursor lift like grass in a breeze and the line below reads out the day; a click sends a ripple across the year.

Needs: None. A 2D canvas. Bring your own data: GitHub's contributionCalendar from the GraphQL API, flattened to { date, count }.

Customize

Props

PropTypeDefaultDescription
data{ date: string; count: number }[]requiredYour contribution days, dates as YYYY-MM-DD.
weeksnumber53How many weeks to show, ending with the latest day in data.
tonestring"#3fae5a"The colour of a busy day; quieter days are lighter shades of it.
labelsbooleantrueMonth names above, and a line below that reads out the day under the cursor.
growbooleantrueThe year grows in week by week when it first comes into view.
interactivebooleantrueHover lifts the days under the cursor; a click sends a ripple out from a day.
onSelect(day: { date: string; count: number }) => void–Called with the day you click.
classNamestring–Class on the root, which fills its parent's width.
styleCSSProperties–Style on the root. Theme it through the --mlui-* variables.
Dither Density →