
Sakuga VFX
Twelve web controls that animate like anime cuts
Product Overview
Sakuga VFX is a set of twelve interface controls that behave like ordinary controls until you touch them. Press a button and it squashes flat, inverts for a frame and detonates an impact burst with smoke rolling off the corners and a ドン! landing on top. Drag a slider and the thumb stretches into a teardrop, trailing cumulus before a crescent shoots ahead on release. There are no characters here, only the timing a key animator would use to sell a hit. The set covers button (primary and secondary), toggle, slider, checkbox, radio, input, tabs, progress, rating, toast and tooltip. Effects are drawn in code on a single canvas layered over the page, so smoke puffs, crystal chips, slashes, splashes and smoke rings all share one animation loop; the manga sound effects — ドン!, カチッ, ズザッ, ポン, ゴゴゴゴ — were painted with GPT Image and traced into paths. Everything sits behind `--sk-*` CSS variables (ink, card, primary, accent), so a page's own `:root` override wins. Each component is one file with no dependencies and no build step. You install with `npx shadcn add finktheartist/sakuga-vfx/button` (or drop the file in by hand), load it with a script tag and use the custom element; the value controls work inside a `<form>` like native inputs. The shared core of springs and effects runs about 40 KB and travels inside every file, while the toggle adds roughly 500 KB because its 43 painted frames are embedded as a sprite sheet. It is also built to be handed to an agent: every control in the gallery has a "copy a prompt for your agent" button, the repo ships an `llms.txt` index, and a `skills/sakuga-vfx` folder installs with `npx skills add finktheartist/sakuga-vfx`. The repo is MIT, public, and sits at 1.4k stars with 140 forks after four commits. Limits are stated in the README and worth repeating: it has only been checked in headless Chromium, not Safari, Firefox, a real phone or a screen reader; the effects canvas sits at the highest z-index and can fly over modals; bursts drawn behind a control get clipped by an `overflow: hidden` parent; and `prefers-reduced-motion` switches every effect off, leaving the springs and state changes. **Anime key-animation timing, rebuilt for plain web controls.**
Best For
Best for front-end developers and designers building playful, anime-flavoured sites, game or event landing pages, and motion designers studying squash-and-stretch timing.
Key Features
- Twelve components: button, toggle, slider, checkbox, radio, input, tabs, progress, rating, toast, tooltip
- Spring-based squash, stretch and overshoot on every interaction
- Hand-drawn effects: smoke, impact bursts, crystals, slashes, splashes, smoke rings
- Manga onomatopoeia lettering traced from painted word art
- All effects on one shared canvas overlay
- Colours controlled by --sk-* CSS variables
- Single-file components with no dependencies or build step
- Install via shadcn CLI or a plain script tag
- Value controls work inside native forms
- llms.txt, agent prompts and a coding-agent skill included
- MIT licensed, public GitHub repo
Pros
- +Motion that feels authored rather than generic easing curves
- +Zero dependencies and no build step to integrate
- +Custom elements drop into any stack, not just React
- +Colour variables make the palette trivially themable
- +Agent-ready: prompts, llms.txt and a skill ship with it
- +MIT and free, with a making-of that documents the process
Cons
- -Only verified in headless Chromium, not Safari or Firefox
- -Untested on real phones and with screen readers
- -Effects overlay can draw across modals and sticky headers
- -Bursts get clipped by overflow-hidden parents
- -Heavy for a control set: core ~40 KB, toggle ~500 KB
- -Young repo with four commits, so API churn is plausible
/// SPECS
- Pricing:Free
- Platform:Web
- MIT licensed and free to use; install through the shadcn CLI or copy the single-file components


