React components drawn in dots and dither.
Controls, charts, text, media, AI moments and living backgrounds, every pixel printed as an LED dot or a dither cell. Copy one in with a command or by hand: React is the only dependency, and motion runs on hand-written springs.
An agent's tool calls as a dotted timeline: a lamp per step, a comet while it runs, folding to one line when done.
AI
Regenerated answers with a pager drawn in dots; switching shows what the new version changed.
AI
Butterflies over the plain page, in dither. They land on your headline to bask, and on a hand held still.
Backgrounds
Your CV as a transit line: a small train rides down it as you scroll, lighting each role like a station.
Useful
Your year of contributions as a field of dots that grows in, lifts under the cursor and ripples when clicked.
Data viz · Dots
Dandelion clocks at the foot of the page, in dither. Click to blow, and the seeds sail off.
Backgrounds
A generated image arriving the way diffusion makes it: static that denoises step by step, coarse to fine.
AI
Text that resolves out of noise the way a diffusion language model writes, the surest letters first.
AI
Avatars printed in a few risograph inks: photos or initials, a status dot cut into the edge, groups that overlap.
UI · Dither
A hero printed in a few inks behind your headline, like a risograph poster, its middle kept calm.
UI · Dither
A before/after slider whose seam is dithered: the boundary between the two pictures is a stipple, not a line.
UI · Dither
A scatter for thousands of points, printed in dither: crowded places go solid, a lone point is a few specks.
Data viz · Dither
The Earth in dither, turning slowly, with a ping where you're based and arcs to the places you've worked.
UI · Dither
A world choropleth printed in dither: each country's value as a density of ink, the sea plain page.
Data viz · Dither
Paint the part of an image a model should change: a stipple selection with marching dots, for inpainting.
AI
Your photo as a dither print that develops shadows first, with a loupe or a divider to see the real one.
UI · Dither
A word that turns through several in place, each change a dither: the next appears where the last one goes.
Text
A video player whose timeline is LED dots, with a dithered preview of the moment under the pointer.
Media · Dither
Loading placeholders in breathing stipple; the content resolves out of the dither instead of popping in.
UI · Dither
A stacked area printed in dither: each part of a total its own ink, a solid ridge on top and a stipple below.
Data viz · Dither
Ink that follows the pointer, wide when slow and thin when quick, splatting on a click and drying away dot by dot.
UI · Dither
A file drop zone in dither: thumbnails print as they upload, an image developing shadows first.
UI · Dither
An attached document being read: its pages in stipple, a line of dots sweeping down each as the model reads it.
AI
An FAQ whose plus folds into a minus, dot by dot, and whose answers dither in at the growing edge.
UI · Dots
A ranked list for dashboards, each bar a row of LED dots lit for its share of the biggest.
Data viz · Dots
A month calendar drawn in dots: pick a day or a range, a stipple between its ends, today lit in the accent.
UI · Dots
A line chart drawn in dots: a lit line, a stipple under it, and the value of the point you're on.
Data viz · Dots
A checkbox drawn in dots: the tick draws itself a dot at a time, the fill dissolves away when unticked.
UI · Dots
A one-time-code field as a row of LED dot panels: digits scan in, a right code sweeps green.
UI · Dots
A ⌘K command palette whose selection is a bar of dots sliding row to row, with search that marks what it matched.
UI · Dots
A table of contents whose rail of dots lights up as you read, with the minutes left underneath.
UI · Dots
A cookie banner with a chocolate-chip biscuit in dither: accepting takes a bite out of it, crumbs falling.
UI · Dither
A countdown drawn in dots: each digit rolls down on its drum as it changes, the colons blink the seconds.
UI · Dots
A session-timeout warning with a crossing signal: the little green man walks faster as the seconds run out.
UI · Dots
A modal dialog: a veil of dots comes down over the page, dot by dot, and the panel dithers in.
UI · Dither
A dictation button drawn in dots: your voice as rising columns, the transcript streaming in beside it.
AI
A live spectrum in LED columns for whatever is playing, or the microphone, with peak dots that hold and drop.
Media · Dots
Delete without "Are you sure?": the row is struck through and a fuse of dots burns along it. Catch it to undo.
UI · Dots
A gauge drawn in dots: a half-circle arc lit to the reading, turning amber or red in its warning zones.
UI · Dots
An install command to copy, with npm, pnpm, yarn and bun tabs; the copy icon's dots fly together into a tick.
UI · Dots
A segmented control as a tape recorder's piano keys: the chosen key latches down, the last one springs up.
UI · Dither
A rotary knob drawn in dots: a lit ring round a dial, turned by dragging, scrolling or the keys.
UI · Dots
A “trusted by” strip with every logo printed in dots, drifting past and dissolving out at the ends. Hover one for its colours.
UI · Dots
An action menu that dissolves out of its trigger, a bar of dots sliding to the item you're on.
UI · Dots
Pagination over a strip of dots: the lit stretch under the current page inches along to the next.
UI · Dots
A password field whose strength meter is a bar of dots, warming from red to green as it gets harder to guess.
UI · Dots
A two-thumb price filter over a histogram of dots: bars inside the range light up, with a count of what's left.
UI · Dots
A pricing table whose prices are LED dots: switch to yearly and the digits roll to the new figure.
UI · Dots
A progress bar drawn in dots: a fill with a dithered leading edge, or a comet scanning while it's busy.
UI · Dots
Your place in a queue as a line of little dot people outside a lit doorway, shuffling up as it moves.
UI · Dots
A star rating drawn in dots: part-filled stars to the exact share, a hover preview, a burst on picking.
UI · Dots
A reading bar for the top of an article: dots fill as you read, a brighter dot where each section starts.
UI · Dots
An order summary that feeds out of a printer's slot as a thermal receipt, photos printed in its dots.
UI · Dither
A select whose menu dithers open, with a dot bar that slides to your option and a tick drawn in dots.
UI · Dots
A newsletter signup in dots: the button wakes when the address is real, marches while sending, and catches gmial.com.
UI · Dots
A range slider drawn in dots: a lit bar up to a key-shaped thumb, a dot for each step, the value beside it.
UI · Dots
A status pill for your site: a little dot-matrix that moves the way the status does, and words that change letter by letter.
UI · Dots
A number input with − and + drawn in dots, its digits rolling like an odometer as it changes.
UI · Dots
An on/off switch drawn in dots: the knob slides on a spring and the accent dissolves into the track.
UI · Dots
Tabs over a strip of dots whose lit stretch moves like an inchworm, front first and back catching up.
UI · Dots
Toasts whose icons are dots and whose time left is a row of dots going out one by one. toast() from anywhere.
UI · Dots
A tooltip that comes out of its trigger grain by grain, with a caret of dots pointing back at it.
UI · Dots
A headline in LED dots that come alive under the pointer: a magnifier swells and warms them as it passes.
Text
Colour and size pickers for a product page: swatches of cloth in dither, a ring of dots round the chosen one.
UI · Dither
A part-of-whole as a 10 × 10 panel of LED dots, one dot to a percent, with its key in text beside it.
Data viz · Dots
An audio player whose waveform is columns of LED dots, lit up to where it's playing.
Media · Dots
Mallards on the plain page, seen from above in dither, each with a mind of its own. Wait still and they come over.
Backgrounds
Text on a dot-matrix lampboard that deciphers itself like an Enigma: real ciphertext, each letter turning on its own rotor, a lamp as it lands.
Text
A number on a flip-dot board that counts up when it comes into view, each dot a disc that turns over.
UI · Dots
A primary button that glows on press, runs a ring round itself while working, and lands with a check.
AI
Draw a shape to run a command. When it's unsure it asks, and learns your way from one example.
Useful
An image's colours as a bar sized by how much of it each covers. Point at one to see its pixels.
Useful
Text that prints in like ink soaking into paper: each word comes up through a blue-noise stipple.
Text
A quiet pond of koi drawn in coloured characters, swimming behind your page. Ripples follow the cursor; a click feeds them.
Backgrounds
A logo cloud or your stack as a dot-matrix LED sign, stepping along a whole LED at a time.
UI · Dots
A dithered lenticular postcard: move across it and it turns from one picture to the other in fine stripes.
UI · Dither
Under water in dither: a shaft of light, caustics on the sand, and fish that each behave like their kind.
Backgrounds
Lying in a marigold field looking up, in dither. The flowers lean away from your cursor.
Backgrounds
Choose a model by what it trades: speed, quality and cost as small bars, with an honest Auto.
AI
A cursor trail of pollen that drifts on slow eddies of air and glints as it turns, like motes in a sunbeam.
UI
The input at the bottom of every AI app: growing text, file chips, and a send button that becomes stop.
AI
Do I need an umbrella? One drop per possible future, so you count 7 of 20 instead of misreading 35%.
Useful
Text that changes its mind: replaced words strike and fade, new ones spring in, and a dot keeps the earlier draft.
AI
Autocorrect that never hides what it did: the closer the call, the clearer the mark.
Useful
Sorts a bank statement into categories, and stacks up only the lines it's torn over.
Useful
Words on a station departures board: each letter flips forward card by card until it lands.
UI
A reply read aloud: a dot waveform lighting as it plays, each word lit as it's said. Click a word to jump.
AI
Tap a photo's subject to lift it off as a die-cut sticker, with the model's doubt left on the edges.
Useful
Recent listening hung on a thread by how hard each session pulls your recommendations.
Useful
A dot-matrix sun and moon. Switching sweeps the new theme across the page as a dither or a band of type.
UI
A status orb for an assistant whose motion comes from real activity: audio levels and token rate.
AI
The "Thinking…" block, with a live timer and thoughts that lift away, springing shut into "Thought for 12s".
AI
Tokens a second in large dots, a sparkline of the speed, and the request's figures: for consoles and playgrounds.
AI
A reply streaming in token by token, each one drying to an ink that says how likely it was.
AI
The view from a seat in an old carriage, in dither: rounded windows, and the country going by outside.
Backgrounds
A voice message for a chat: a short dot waveform, the time left, a speed to tap through and the text.
Media · Dots
Looking up into a white cherry in full bloom, in dither, with petals drifting down: by day, or by moonlight in dark mode.
Backgrounds
Text that keeps the words a model nearly chose. Hold one and the runners-up bloom above it.
AI
Questions
- What is ml-ui?
- A library of React components drawn in LED dots and dither: controls, charts, text effects, media players, AI interface pieces and animated backgrounds. Aditya Khalkar makes them while building Deep-agnt, and they're free to use under the MIT license.
- How do I add a component?
- With the shadcn CLI, for example npx shadcn@latest add https://ui.adityakhalkar.me/r/dot-bars.json. Or open the component's page and copy its files. Each one is a few readable TypeScript files you own.
- What does it need?
- React 18 or newer, nothing else: no Tailwind, no animation library, no npm dependencies. It works in Next.js, Vite, Remix or any React app. The drawing happens on a canvas; the motion runs on hand-written springs.
- Are the components accessible?
- Under each drawing is real HTML: buttons, inputs, links and text, so keyboards and screen readers work as usual. Motion settles to a still frame when someone asks for reduced motion.