# Microinteractions

95 drop-in microinteractions for AI products: copy, approve, stop, retry, connect and more, each with real springs and every state. On top of the components, 30 free.

## Free

- [Run check](https://chatcn.dev/docs/components/run-check.md): A status mark whose spinner closes into a ring, and whose ring runs out into a check, or a cross on failure, in one pen stroke.
- [Copy flight](https://chatcn.dev/docs/components/copy-flight.md): A copy button that shows the copy happen: the block is selected line by line, the selection lifts off into the button, and it says how many lines it copied.
- [Effort dial](https://chatcn.dev/docs/components/effort-dial.md): Reasoning effort on a knob: it follows the pointer, settles into the nearest detent on a spring, lights an arc and rolls the level's name like a drum.
- [Tool toggle](https://chatcn.dev/docs/components/tool-toggle.md): A composer tool switch that acts out its tool: the globe turns, the sun rises, the brackets spread, and the chip opens to say its name.
- [Thumbs pour](https://chatcn.dev/docs/components/thumbs-pour.md): Feedback thumbs that fill like a glass, with a meniscus that sloshes and settles, and reasons that unfurl after a thumbs down.
- [Send morph](https://chatcn.dev/docs/components/send-morph.md): Sending as a motion: the words leave the composer and travel into the bubble they become, which grows its fill and corners around them.
- [Suggestion fly](https://chatcn.dev/docs/components/suggestion-fly.md): Starter prompts that go somewhere: the picked suggestion's words arc into the composer and unroll into the full prompt.
- [Attach bloom](https://chatcn.dev/docs/components/attach-bloom.md): The composer's plus, opening like a flower: it turns into a cross and the menu blooms out of the button as a growing circle.
- [Model coin](https://chatcn.dev/docs/components/model-coin.md): The model in use as a coin: switching flips the mark on its axis while the name rolls over to the new one.
- [Kbd press](https://chatcn.dev/docs/components/kbd-press.md): Keyboard shortcuts that press: the caps go down modifier first, the key a beat later, whenever the shortcut fires.
- [Retry spin](https://chatcn.dev/docs/components/retry-spin.md): An error you retry with a flick: the arrow spins while the request is out and coasts to rest when it settles.
- [Cooldown ring](https://chatcn.dev/docs/components/cooldown-ring.md): A rate limit you can watch run out: a ring drains round the seconds left and turns into Send again at zero.
- [Reconnect strip](https://chatcn.dev/docs/components/reconnect-strip.md): The connection, said once: offline slides an amber strip down, reconnecting turns it blue, back online turns it green and away.
- [Number scrub](https://chatcn.dev/docs/components/number-scrub.md): A parameter you scrub sideways like a design tool field, with stops at the values that matter.
- [Seed dice](https://chatcn.dev/docs/components/seed-dice.md): A seed you can roll: a 3D die tumbles while each digit spins like a slot drum.
- [Share fold](https://chatcn.dev/docs/components/share-fold.md): Sharing as folding a note: the card folds like a letter and shrinks into the link it became.
- [Lock grant](https://chatcn.dev/docs/components/lock-grant.md): A permission that unlocks, physically: the shackle lifts and swings open and the row turns green.
- [Pin drop](https://chatcn.dev/docs/components/pin-drop.md): A pin that goes in like a pin: it falls in point first and lands with a squash, and is plucked out to unpin.
- [Auto title](https://chatcn.dev/docs/components/auto-title.md): A chat that names itself in front of you, written in behind the kit's square caret.
- [Erase wipe](https://chatcn.dev/docs/components/erase-wipe.md): Clearing the composer as wiping a board: an eraser sweeps back and the words vanish behind it.
- [Chip reorder](https://chatcn.dev/docs/components/chip-reorder.md): Context chips you put in order by hand, with neighbours making room on springs.
- [Done bell](https://chatcn.dev/docs/components/done-bell.md): A bell that rings once when a long run finishes, with a real swing and a count on its shoulder.
- [Pull refresh](https://chatcn.dev/docs/components/pull-refresh.md): Pull to refresh you can feel arming: a ring draws as you pull and closes at the line.
- [Swipe reply](https://chatcn.dev/docs/components/swipe-reply.md): Swipe a message to reply, with a threshold you can see click.
- [Message delete](https://chatcn.dev/docs/components/message-delete.md): Deleting a message without a hole: it blurs away into a slim note with a draining Undo.
- [Stretch switch](https://chatcn.dev/docs/components/stretch-switch.md): A switch whose knob stretches and wobbles as it flips.
- [Rubber tabs](https://chatcn.dev/docs/components/rubber-tabs.md): Tabs whose underline stretches like a rubber band.
- [Odometer pager](https://chatcn.dev/docs/components/odometer-pager.md): Pagination whose numbers roll past like an odometer.
- [Focus accordion](https://chatcn.dev/docs/components/focus-accordion.md): An accordion where the answer comes into focus line by line.
- [Dither upload](https://chatcn.dev/docs/components/dither-upload.md): An image upload where the picture itself is the progress.

## chatcn Pro

- [Hold to run](https://chatcn.dev/docs/components/hold-to-run.md): (chatcn Pro) Approval you have to mean: hold the agent's command and ink fills the row through the text itself, inverting every letter it passes.
- [Slide to approve](https://chatcn.dev/docs/components/slide-to-approve.md): (chatcn Pro) Slide to confirm for payments, sends and deletes: ink follows the thumb, the words invert as it passes, and a short slide is thrown back.
- [Regenerate stack](https://chatcn.dev/docs/components/regenerate-stack.md): (chatcn Pro) Answer versions as a deck: regenerate and the old answer slips back into a stack behind the new one, and stepping through brings each card forward.
- [Trace outline](https://chatcn.dev/docs/components/trace-outline.md): (chatcn Pro) A row whose own outline is its progress bar: it traces round the row, laps it when the length is unknown, and closes green or stops red.
- [Upload resolve](https://chatcn.dev/docs/components/upload-resolve.md): (chatcn Pro) An image attachment that resolves as it uploads: coarse blocks of its own colours sharpen in steps, with a trace round the thumbnail.
- [Branch fork](https://chatcn.dev/docs/components/branch-fork.md): (chatcn Pro) Forking a conversation drawn as it happens: a new lane bends out of the message's node and runs down to a fresh row.
- [Remember flight](https://chatcn.dev/docs/components/remember-flight.md): (chatcn Pro) Memories you can see being kept: the words tint, a slip of them arcs into the header's memory button, and the count rolls.
- [Stop snap](https://chatcn.dev/docs/components/stop-snap.md): (chatcn Pro) The end of a stopped answer, marked by what stopped it: the Stop button's square arcs to the end of the text and settles as the end mark.
- [Wave to text](https://chatcn.dev/docs/components/wave-to-text.md): (chatcn Pro) Dictation that turns into words in place: the voice scrolls by as bars, then flattens into dots that the transcript is drawn across.
- [Agent toast](https://chatcn.dev/docs/components/agent-toast.md): (chatcn Pro) One toast for a whole agent run, changing in place from queued to working to asking to done or failed.
- [Citation bloom](https://chatcn.dev/docs/components/citation-bloom.md): (chatcn Pro) A citation that opens where it sits: the raised footnote number grows into its source card, starting from the number's own box.
- [Apply to file](https://chatcn.dev/docs/components/apply-to-file.md): (chatcn Pro) Apply for assistant code: a miniature of the block drops into the file's tab, which marks itself changed and counts the lines.
- [Approve stamp](https://chatcn.dev/docs/components/approve-stamp.md): (chatcn Pro) Approval with weight: a stamp falls onto the card, lands a little crooked as the card dips, and its ink spreads with real grain.
- [Auto run timer](https://chatcn.dev/docs/components/auto-run-timer.md): (chatcn Pro) An action that runs by itself unless stopped, with the time left draining round the Cancel button.
- [Subagent bud](https://chatcn.dev/docs/components/subagent-bud.md): (chatcn Pro) Subagents that bud: each new one swells out of the end of its branch in the lead agent's tree while the branch draws.
- [Context pour](https://chatcn.dev/docs/components/context-pour.md): (chatcn Pro) The context window as something that fills: a file's token cost flies into the meter and the part it added stays lit.
- [Summarize squeeze](https://chatcn.dev/docs/components/summarize-squeeze.md): (chatcn Pro) A document that summarises itself: paragraphs press into gray bars and the summary points rise out of them.
- [Length drag](https://chatcn.dev/docs/components/length-drag.md): (chatcn Pro) An answer you make shorter or longer by hand, with a handle that unfolds or folds away its sentences.
- [Tone dial](https://chatcn.dev/docs/components/tone-dial.md): (chatcn Pro) Tone as a track the text follows: drag from formal to casual and the text rewrites itself, word by word.
- [Source stack](https://chatcn.dev/docs/components/source-stack.md): (chatcn Pro) Sources that pile up as they are found, and deal out into a row with their names when you point at them.
- [Page flip reader](https://chatcn.dev/docs/components/page-flip-reader.md): (chatcn Pro) Reading shown as reading: finished pages turn over the spine like a book.
- [Budget brake](https://chatcn.dev/docs/components/budget-brake.md): (chatcn Pro) A budget that stops the agent: the bar hits the cap like a wall and a lock drops on.
- [Task dock](https://chatcn.dev/docs/components/task-dock.md): (chatcn Pro) A long task you can put away: the card shrinks into a dock tab that keeps its progress.
- [Rewind](https://chatcn.dev/docs/components/rewind.md): (chatcn Pro) Back to a checkpoint as time running backwards: later messages leave newest first.
- [Barge in](https://chatcn.dev/docs/components/barge-in.md): (chatcn Pro) Talking over the agent, made visible: its voice wave yields while yours spreads into the space.
- [Credit spend](https://chatcn.dev/docs/components/credit-spend.md): (chatcn Pro) Credits you can see spent: the cost breaks off the bar and flies to what it paid for.
- [Thread bump](https://chatcn.dev/docs/components/thread-bump.md): (chatcn Pro) A chat list that shows activity as movement: a thread with a new reply rises to the top.
- [Artifact expand](https://chatcn.dev/docs/components/artifact-expand.md): (chatcn Pro) An artifact that opens out of its message: the inline card grows into the side panel.
- [Redact sweep](https://chatcn.dev/docs/components/redact-sweep.md): (chatcn Pro) Redaction you watch happen: a marker bar sweeps across each sensitive span and you can hold to peek.
- [Result flip grid](https://chatcn.dev/docs/components/result-flip-grid.md): (chatcn Pro) An eval run you can watch land: each case's tile turns over like a card as its result comes back.
- [Rank climb](https://chatcn.dev/docs/components/rank-climb.md): (chatcn Pro) A leaderboard where the order is the story: rows travel to their new rank and say how far they moved.
- [Fan out merge](https://chatcn.dev/docs/components/fan-out-merge.md): (chatcn Pro) Parallel work, drawn as it runs: lanes branch out as tasks start and run on to the join as they finish.
- [Plug connect](https://chatcn.dev/docs/components/plug-connect.md): (chatcn Pro) Connecting a server as plugging something in: the plug seats, the cable marches, then turns live.
- [Word swap](https://chatcn.dev/docs/components/word-swap.md): (chatcn Pro) An edit suggestion that shows its work: old words are struck word by word and the new ones grow in.
- [File to context](https://chatcn.dev/docs/components/file-to-context.md): (chatcn Pro) Hand the model a file: drag it from the tree as a tilting chip and drop it into the composer.
- [Thinking handoff](https://chatcn.dev/docs/components/thinking-handoff.md): (chatcn Pro) Thinking hands over to the answer: the steps fold into a header and the answer writes in below.
- [Drop refuse](https://chatcn.dev/docs/components/drop-refuse.md): (chatcn Pro) Saying no to a file without a dialog: it shakes its head and is tossed back out, with the reason.
- [Model divider](https://chatcn.dev/docs/components/model-divider.md): (chatcn Pro) Where a thread changed hands: a rule draws out and the new model's name slides in beside the old.
- [Approve cascade](https://chatcn.dev/docs/components/approve-cascade.md): (chatcn Pro) One approval for a whole batch: a line runs down the spine and checks each row as it arrives.
- [Prompt weight](https://chatcn.dev/docs/components/prompt-weight.md): (chatcn Pro) Weight words in an image prompt by feel: the word itself grows heavier and takes on colour.
- [Cell fill wave](https://chatcn.dev/docs/components/cell-fill-wave.md): (chatcn Pro) A table an agent fills in, where each value lands with a wash as it arrives.
- [Slot drop](https://chatcn.dev/docs/components/slot-drop.md): (chatcn Pro) A meeting the agent books lands in the calendar like something set down.
- [Route draw](https://chatcn.dev/docs/components/route-draw.md): (chatcn Pro) A route the agent plans, drawn like a pen on a map, stop by stop.
- [Cart fly](https://chatcn.dev/docs/components/cart-fly.md): (chatcn Pro) The item the agent adds is thrown into the cart, which dips to catch it.
- [Gen cancel](https://chatcn.dev/docs/components/gen-cancel.md): (chatcn Pro) Cancelling an image generation, shown as the half made image freezing where it got to.
- [Agent wake](https://chatcn.dev/docs/components/agent-wake.md): (chatcn Pro) A scheduled agent waking up: its eyes open, the light comes up and a clock starts.
- [Inbox sweep](https://chatcn.dev/docs/components/inbox-sweep.md): (chatcn Pro) An approvals inbox that rewards clearing it, once, when you earn it.
- [Merge line](https://chatcn.dev/docs/components/merge-line.md): (chatcn Pro) An agent's branch merging into main, drawn the way git draws it.
- [Define unfold](https://chatcn.dev/docs/components/define-unfold.md): (chatcn Pro) A term that explains itself like a folded note opening out of its underline.
- [Focus reader](https://chatcn.dev/docs/components/focus-reader.md): (chatcn Pro) A long answer that reads with you, sentence by sentence.
- [Dust delete](https://chatcn.dev/docs/components/dust-delete.md): (chatcn Pro) Delete a file and it turns to dust that blows into the trash.
- [Matrix code](https://chatcn.dev/docs/components/matrix-code.md): (chatcn Pro) A one time code on dot matrix panels that pours into a check.
- [Password decrypt](https://chatcn.dev/docs/components/password-decrypt.md): (chatcn Pro) A password field whose reveal decodes like a cipher.
- [Pixel like](https://chatcn.dev/docs/components/pixel-like.md): (chatcn Pro) A like button whose pixel heart fills like a glass.
- [Hold delete](https://chatcn.dev/docs/components/hold-delete.md): (chatcn Pro) A destructive button you hold until its dithered segments lock.
- [Card flip form](https://chatcn.dev/docs/components/card-flip-form.md): (chatcn Pro) A card form where the card changes material and turns over for the code.
- [Presence fan](https://chatcn.dev/docs/components/presence-fan.md): (chatcn Pro) A presence stack that fans open like a hand of cards.
- [Wave volume](https://chatcn.dev/docs/components/wave-volume.md): (chatcn Pro) A volume slider whose track is the sound.
- [Coupon pricing](https://chatcn.dev/docs/components/coupon-pricing.md): (chatcn Pro) A pricing card whose yearly discount tears off as a coupon.
- [Tick countdown](https://chatcn.dev/docs/components/tick-countdown.md): (chatcn Pro) A countdown dial where one tick falls away every second.
- [Ink range](https://chatcn.dev/docs/components/ink-range.md): (chatcn Pro) A date range calendar where the selection flows like ink.
- [Ink checklist](https://chatcn.dev/docs/components/ink-checklist.md): (chatcn Pro) A checklist where each tick bleeds in like fountain pen ink.
- [Feedback face](https://chatcn.dev/docs/components/feedback-face.md): (chatcn Pro) A rating whose drawn face goes from grump to grin.
- [Acting tab bar](https://chatcn.dev/docs/components/acting-tab-bar.md): (chatcn Pro) A tab bar where each icon acts out what it means.
- [Pendulum bell](https://chatcn.dev/docs/components/pendulum-bell.md): (chatcn Pro) A notification bell that swings and rings when something lands.