The Ultimate Interactive Encyclopedia of Motion Design
交互式动效设计百科全书 · 1000+ 可复制的 React 动效组件
English · 中文 · Live Demo · Quick Start
|
|
Deploy your own copy via GitHub Pages or Vercel after cloning.
| Platform | Link |
|---|---|
| GitHub Pages | https://chainepic.github.io/MotionaryUI-UX/ |
| Local Dev | http://localhost:3000 |
- Node.js 18+
- npm / yarn / pnpm
# Clone · 克隆仓库
git clone https://github.com/chainepic/MotionaryUI-UX.git
cd MotionaryUI-UX
# Install · 安装依赖
npm install
# Dev server · 启动开发服务器
npm run devOpen http://localhost:3000 in your browser.
npm run storybookOpen http://localhost:6006.
npm run build # Static export to ./out
npm run lint # ESLintClick to expand · 点击展开完整分类
| # | Category 分类 | Description 说明 |
|---|---|---|
| 1 | Buttons 按钮 | Magnetic, Liquid, Neon, Glitch, 3D Tilt… |
| 2 | Cards 卡片 | 3D Flip, Glassmorphism, Parallax, Border Beam… |
| 3 | Typography 文字 | Kinetic, Typewriter, Scramble, Gradient… |
| 4 | Navigation 导航 | Dock, Circular Menu, Mega Menu, Breadcrumb… |
| 5 | Backgrounds 背景 | Aurora, Starfield, Mesh Gradient, Cyber Grid… |
| 6 | Data 数据可视化 | Charts, Gauges, Heatmaps, Progress… |
| 7 | Feedback 反馈 | Toast, Modal, Confetti, Skeleton… |
| 8 | Social 社交 | Heart Burst, Avatar Stack, Story Ring… |
| 9 | E-commerce 电商 | Add to Cart, Wishlist, Price Flip… |
| 10 | Inputs 输入 | Floating Label, OTP, Tag Input, File Drop… |
| 11 | Loaders 加载 | Spinner, Orbit, DNA, Glitch, Hourglass… |
| 12 | Images 图片 | Zoom, Ken Burns, Before/After, Lens Flare… |
| 13 | Gamification 游戏化 | XP Bar, Badge, Loot Box, Streak Flame… |
| 14 | Media 媒体 | Waveform, Vinyl, Volume Knob, Lyrics… |
| 15 | Device UI 设备 | Dynamic Island, Face ID, Lock Screen… |
| 16 | Transitions 过渡 | Fade, Wipe, Circle Mask, Cube Rotate… |
| 17 | Micro 微交互 | Toggle, Star Rating, Share Fan… |
| 18+ | Blocks / Modals / Wizard… | Layout blocks, onboarding, skeletons, and more |
Next.js 16 · TypeScript · Tailwind CSS v4 · Framer Motion
GSAP · React Three Fiber · Zustand · Storybook · Lucide
| Technology | Purpose |
|---|---|
| Next.js 16 | App Router + static export |
| Framer Motion | Declarative animations & gestures |
| GSAP | Scroll-triggered & complex timelines |
| React Three Fiber | 3D / WebGL effects |
| Zustand | Global filter & wizard state |
| Storybook | Component docs & isolation |
MotionaryUI-UX/
├── .github/ # CI/CD workflows
├── .storybook/ # Storybook config
├── src/
│ ├── app/ # Next.js pages (per category)
│ ├── components/
│ │ ├── motionary/ # All motion variants
│ │ └── system/ # Layout, sidebar, cards
│ ├── data/ # Category metadata
│ └── store/ # Zustand stores
├── public/
├── scripts/ # Build & codegen utilities
└── package.json
Edit src/app/globals.css:
@theme {
--color-primary: #00f3ff;
--color-secondary: #7000ff;
--color-accent: #ff00ff;
--color-background: #030303;
}- Create component in
src/components/motionary/atomic/YourVariants.tsx - Register it on the matching category page under
src/app/ - Wrap with
<PlaygroundCard />for filters & copy-code support
Contributions are welcome! 欢迎提交 PR!
- Fork the repo
git checkout -b feature/amazing-effect- Commit & push
- Open a Pull Request
Guidelines · 贡献规范
- Keep each variant self-contained and reusable
- Use TypeScript with proper types
- Test across major browsers
- Update README for new categories