/dissolve:dissolvefrom dissolve
Provides animated UI components for React Native (Expo) and React web apps, including swipe-to-delete, toast, like button, OTP input, number ticker, and more. Components are copied into the project for full editability.
Ships in dissolve. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
dissolve is a library of animated components you own, shadcn style: the CLI copies each component's source into the app, and the user edits it freely. Every component runs on React Native (Expo, Reanimated 4, Skia) and on React for the web (framework free canvas and DOM cores), with the same props on both. Site: https://dissolve.rselmi.com.
dissolve-ui package (hooks such as useDissolve), documented by the dissolve MCP server.dissolve.json, a components/dissolve/ folder, or imports from dissolve-ui.Do not use it for apps that are neither React Native nor React, or when the user wants a plain unanimated control.
Run npx dissolve-ui list in the project for the current list and the platforms of each one. As of this plugin version:
| Name | Export | Use it for |
|---|---|---|
swipe-to-delete | SwipeToDelete | Swipe a row left to delete it: it dissolves, then the list closes up. |
toast | ToastProvider, useToast | Toasts that arrive in grains and leave as dust, with an optional Undo action. |
like-button | LikeButton | Heart that pops with sparks on like and snaps into grains on unlike. |
morph-button | MorphButton | Dynamic Island style pill that folds into a loader, then opens as the done state. |
split-button | SplitButton | Splits in two like a drop of liquid metal, Cancel and Confirm halves. |
slide-to-confirm | SlideToConfirm | Slide to pay or confirm, shimmer label, loader, done state. |
gooey-menu | GooeyMenu | Floating button whose actions pour out as gooey drops. |
otp-input | OTPInput | One time code boxes, verify sweep, success tint, shake and dust on reject. |
number-ticker | NumberTicker | Rolling digit columns for prices and counters, locale aware. |
reaction-picker | ReactionPicker | iMessage style reactions: long press, dock magnifier, emoji flies to a badge. |
voice-note | VoiceNote | Voice message bubble: play, scrub the waveform with ticks, unsend as dust. |
card-stack | CardStack | Wallet style card stack: tap to focus, drag down to put back, swipe to cycle. |
signature-pad | SignaturePad | Variable width signature, undo, clear into dust, PNG export. |
before-after | BeforeAfter | Before / after image comparison with a draggable divider and haptic ticks. |
thinking-orb | ThinkingOrb | A sphere of dots that shows what an AI agent is doing: thinking, searching, listening, done. |
image-reveal | ImageReveal | Image generation loader: a mosaic that resolves coarse to fine, then settles in grains. |
sweep-transition | SweepTransition | A liquid band sweeps across a view and leaves the new state behind it. |
upload-tile | UploadTile, UploadTray | Attachment that assembles from grains, fills a progress ring, rejected files leave as dust. |
task-check | TaskCheck | Checkbox that draws its check and strikes the label, then the task moves away or dissolves. |
quantity-stepper | QuantityStepper | Minus and plus with rolling digits and an accelerating long press; at 1 it turns into a trash. |
ruler-picker | RulerPicker | Horizontal ruler with momentum, rolling value and a haptic tick per graduation. |
bar-chart | BarChart | Bar chart you scrub with a finger, sliding bubble, bars regrow on period change. |
mini-player | MiniPlayer | Now playing pill that opens into a full player as one object, then folds back. |
pull-to-refresh | PullToRefresh | Pull a list down: grains gather into a loader, release and the content rebuilds itself. |
reorder-list | ReorderList | Long press a row to lift it, drag to reorder, the others make room. |
glossy-button | GlossyButton | Tactile pill lit from the inside, presses down on a crisp spring. |
scratch-card | ScratchCard | Foil scratch card that tilts under the finger, sheds grains, then dissolves past the threshold. |
skeleton | Skeleton, SkeletonBlock | Loading placeholders that break into grains and recompose into the real content. |
segmented-control | SegmentedControl | iOS segmented control whose pill breaks into grains and reassembles on the new segment. |
toggle | Toggle | iOS switch whose thumb breaks into grains and reassembles at the other end. |
progress-steps | ProgressSteps | Numbered steps on a line, or story style bars, the progress streams on in grains. |
elastic-slider | ElasticSlider | Thick rounded slider; pulled past an end, the track stretches like a rubber band. |
accordion | Accordion | Expandable sections: the height glides open, the chevron turns, the content slides in. |
copy-button | CopyButton | Copy icon that breaks into grains and reforms as a check, with a Copied tooltip. |
avatar-stack | AvatarStack | Overlapping avatars with a +N chip that spread apart with names on hover or hold. |
tooltip | Tooltip | A label with an arrow on hover, focus or long press, flips and slides to stay on screen. |
typing-indicator | TypingIndicator | Chat typing indicator: avatars pop into a stack beside three waving dots. |
marquee | Marquee | Endless scrolling row of logos, words or cards; hover to stop, drag to scrub. |
text-scramble | TextScramble | Text that decodes into place through random glyphs, without shifting layout. |
confetti-burst | ConfettiBurst | A short, quiet burst of paper from a button, fired from a ref. |
magnify-dock | MagnifyDock | The macOS dock: icons swell around the pointer, launch bounce and running dots. |
pager-tabs | PagerTabs | Tabs over swipeable pages with a soft pill that follows the swipe. |
range-slider | RangeSlider | Two handle range slider with rolling value bubbles and optional steps. |
password-strength | PasswordStrength | Password field with a dotted strength meter and live rules. |
Pick the one closest to the user's intent, and say which you picked and why in one line. Each component's page, with its props and an example, is at https://dissolve.rselmi.com/components/<name>/, and as markdown at https://dissolve.rselmi.com/components/<name>.md. Read it before you wire props you are unsure of.
dissolve.json, adds the theme tokens to the global css, and on React Native copies the tw.tsx primitives and checks the NativeWind setup:npx dissolve-ui init --native # React Native / Expo
npx dissolve-ui init --web # React on the web (Next.js, Vite...)
Skip it when dissolve.json already exists. On React Native, init prints what is missing (NativeWind v5, react-native-css, tailwind-merge, metro and postcss config): fix what it prints, then run it again.
npx dissolve-ui add segmented-control number-ticker
Options: --path <dir> (default components/dissolve, or src/components/dissolve with a src/ layout), --overwrite to replace files, --native / --web to override the platform in dissolve.json.
import { SegmentedControl } from '@/components/dissolve/segmented-control';
import { SegmentedControl } from 'dissolve-ui' is wrong: the package only exports the React Native engine.
haptics are accepted on the web (they map to navigator.vibrate).--dissolve-background, surface, surface-2, foreground, muted, primary, primary-foreground, success, danger, danger-foreground, accent, border and chart-1 to chart-3, written by init into the global css with a dark block. Change a token to restyle every component, and use the matching Tailwind classes (bg-dissolve-surface, text-dissolve-muted) in the app's own screens. Do not hardcode colors in the components.className and the part classNames (textClassName, labelClassName...). Classes go through tailwind-merge, so yours win.value with onChange, or defaultValue alone.GestureHandlerRootView at the root, and DissolveProvider from dissolve-ui for the components that play grain effects (and for toast, with <ToastProvider> inside it). Check the root layout before adding either, and never add a second one.'use client' wrapper (<name>.tsx) around a framework free core (<name>.core.ts). It needs only react and react-dom; Tailwind is optional.To make any view dissolve, burn, melt, peel or gather (not a ready-made component), use the engine in dissolve-ui through the dissolve MCP server that this plugin adds:
get_setup: the install command with its peer dependencies, the DissolveProvider root layout and a first useDissolve example.list_variants: every variant (dust, sand, ember, stream, gather, peel, morph...) with its hook and use case. Pass kind (exit, entrance, gesture, transition) to filter.get_variant: the usage snippet, options and best practices of one variant.Call list_variants to pick, then get_variant for the code. One effect per user action, never on scroll or on a timer.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
animated-components, react-native, expo, shadcn-style, ui-library
npx claudepluginhub dissolve-ui/dissolve --plugin dissolveOther plugins' skills for the same job