Introduction
Yan (やん) is a collection of kawaii React components that squish, sparkle and go ぷにっ. It works the way shadcn/ui does: not an npm package you depend on, but source code you own, delivered by the shadcn CLI.
What Yan adds is feel. Buttons squish like mochi and wobble back like jelly. Every control has its own little key-animation moment: a soft glow and emphasis lines on a button, a sakura blooming around a checkbox, a mochi that smears across a switch, clouds, hearts and onomatopoeia stickers (ぷにっ, キラッ). Colors are pastel candy on cream paper by day and plum night sky by night.
Principles
- You own the code. Every component is a single file in your repo. Change anything.
- Radix underneath. Keyboard, focus and ARIA behavior come from Radix primitives, so cute never means inaccessible.
- One dial for moe. Every component takes
intensity:"kawaii","subtle"or"off". Ship the same component on a landing page and in an admin panel. - Motion that respects people. With
prefers-reduced-motion, effects are skipped and state changes stay instant. - Tiny effects layer. All particles are drawn by
yan-fx, one click-through canvas with no dependencies. It sleeps when nothing is animating. - shadcn compatible. Yan uses shadcn's token names (
--primary,--ring, …), so you can adopt it one component at a time.
Status
Yan is at v0 with thirteen components: Avatar, Badge, Button, Checkbox, Dialog, Input, Progress, Select, Slider, Switch, Tabs, Toast and Tooltip.