Image: GitHub
Why it mattersA product looking for a lighter moment of personality can drop in one file. The rest of the app is untouched.
Most UI toolkits aim for a calm, neutral feel. A new repository takes the other route, in a controlled way.
finktheartist/sakuga-vfx is a set of 12 common web controls. Each one sits still at rest. A user touch makes the control squash and overshoot on springs. It throws drawn effects around itself. The author calls the motion anime-style, after sakuga, the hand-drawn style of Japanese animation.
The repository has 1,400 stars and 144 forks on GitHub. It is MIT-licensed. The author goes by the handle finktheartist.
What is in the set
The 12 controls are the ones a web app uses every day. Button, toggle, slider, checkbox, radio and input. Tabs, progress, rating, toast and tooltip. Plus a gallery component. Nothing about the API changes. A toggle is a toggle, a slider is a slider.
The effects on top include spring physics, burst impacts and smoke puffs. Also crystal chips, slash lines and splashes. And manga sound-effect letters in Japanese, such as "ドン!" and "ズザッ". The author has a live demo at sakuga-vfx.vercel.app. It shows each control reacting on click.
How a team adopts it
The project is plain JavaScript with no dependencies. It runs under any framework, or under none. Two install paths are shown in the README. One is the shadcn CLI, which copies a component's source into your codebase. The other is a script tag.
Each component carries its own copy of the core engine, about 40 KB per file. The toggle adds a further 500 KB in embedded animation frames, the README notes. A team picks only the controls it wants. It pays only for those files.
The limits, named in the README
The effects canvas sits on top of the page. A dust kick thrown out of a button can be clipped by a parent element with the CSS rule overflow: hidden. The README calls this out, so a user knows where the effect will fail.
The prefers-reduced-motion setting disables the effects. The state change and the spring still run. So an accessible page still behaves correctly.
For a product with a playful brand, the shortcut is simple. Swap one control for the sakuga version. See how it reads. The rest of the UI, and the engineering, is untouched.
Motion this loud is a design choice, and not every product wants it. The obvious reader is a game or a creative tool. Or a developer tool with room for personality. Or a marketing surface that needs to stand out. For a dashboard or a daily-use form, the quiet default from shadcn or Radix is still the right pick. The 12 sakuga controls sit on the shelf. They are for the one place a product wants to feel alive.
Source
finktheartist/sakuga-vfx on GitHub. Live demo at sakuga-vfx.vercel.app.
This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.
Get AI News in your inbox
New developer tools, model and agent releases, and how teams are actually using them to release software. Short, and only when there is something worth reading.