Components
36 animated components for React Native and React. Each one is a file you copy into your app and own: npx dissolve-ui add <name>, or npx shadcn@latest add https://dissolve.rselmi.com/r/<name>.json.
- SwipeToDelete: Swipe a row left to delete it: it dissolves, then the list closes up.
- Toast: Toasts that arrive in grains and leave as dust, with an optional Undo action.
- GlossyButton: Tactile pill lit from the inside: gradient stroke, inner light and ring, presses down on a crisp spring.
- LikeButton: Heart that pops with sparks on like and snaps into grains on unlike.
- MorphButton: Dynamic Island style pill that folds into a loader, then opens as the done state.
- SplitButton: Splits in two like a drop of liquid metal, Cancel and Confirm halves.
- GooeyMenu: Floating button whose actions pour out as gooey drops.
- SlideToConfirm: Slide to pay or confirm, shimmer label, loader, done state.
- OTPInput: One time code boxes, verify sweep, success tint, shake and dust on reject.
- NumberTicker: Rolling digit columns for prices and counters, locale aware.
- ReactionPicker: iMessage style reactions: long press, dock magnifier, emoji flies to a badge.
- VoiceNote: Voice message bubble: play, scrub the waveform with ticks, unsend as dust.
- SignaturePad: Variable width Skia signature, undo, clear into dust, PNG export.
- CardStack: Wallet style card stack: tap to focus, drag down to put back, swipe to cycle.
- BeforeAfter: Before / after image comparison with a draggable divider and haptic ticks.
- ThinkingOrb: A sphere of dots that shows what an AI agent is doing: thinking, searching, listening, done.
- ImageReveal: Image generation loader: a thinking mosaic that resolves coarse to fine, then settles in grains.
- SweepTransition: A crisp liquid band sweeps across a view and leaves the new state behind it.
- UploadTile: Attachment that assembles from grains, fills a progress ring, rejected files leave as dust.
- TaskCheck: Checkbox that draws its check and strikes the label, then the task moves away or dissolves.
- QuantityStepper: Minus and plus with rolling digits and an accelerating long press; at 1 it turns into a trash.
- RulerPicker: Horizontal ruler with momentum, rolling value and a haptic tick per graduation.
- BarChart: Bar chart you scrub with a finger, sliding bubble, bars regrow on period change.
- MiniPlayer: Now playing pill that opens into a full player as one object, then folds back.
- PullToRefresh: Pull a list down: grains gather into a loader, release and the content rebuilds itself.
- ReorderList: Long press a row to lift it, drag to reorder, the others make room, it settles with a tick.
- ScratchCard: Glossy foil scratch card that tilts in 3D under the finger, sheds grains, then dissolves past the threshold.
- Skeleton: Loading placeholders that break into grains and recompose into the real content, block by block.
- SegmentedControl: iOS segmented control whose pill breaks into grains, flows to the new segment and reassembles. Drag across to follow the finger.
- Toggle: iOS switch whose thumb breaks into grains, flows to the other end of the track and reassembles while the track fills.
- ProgressSteps: Numbered steps on a line, or story style bars: the progress streams on to the next step in grains.
- ElasticSlider: Thick rounded slider whose texts invert over the fill; pulled past an end, the track stretches like a rubber band and snaps back.
- Accordion: Expandable sections: the height glides open, the chevron turns over and the content slides in.
- CopyButton: Icon button that copies text: the copy icon breaks into grains that reform as a check, a Copied tooltip rises.
- AvatarStack: Overlapping avatars with a +N chip: hover or hold to spread them with names, adding or removing one animates the stack.
- Tooltip: A label with an arrow on hover, focus or long press: it grows in, flips and slides to stay on screen.
dissolve is MIT licensed. Source on GitHub, package on npm. For AI agents: llms.txt.