--- name: frontend-magic-ui description: Polished SaaS landing page components. Use for number tickers/stats animations, logo marquees, bento grids, device mockups (iPhone, Safari), shimmer/rainbow buttons, typing effects. Professional marketing polish built on Framer Motion + Tailwind. For dramatic hero effects use Aceternity, for basic UI use shadcn. allowed-tools: Read, Edit, Write, Bash (*) --- # Magic UI 150+ animated components for SaaS landing pages. Professional polish, production-ready. ## When to Use - Number/stat animations (tickers, counters) - Logo walls (marquee) - Bento grid layouts - Device mockups (iPhone, Safari) - Text animations (typing, word rotate) - Shimmer/rainbow buttons ## When NOT to Use - Basic UI → shadcn/ui - Dramatic hero effects → Aceternity - State-driven animations → Rive ## Process **NEED → ADD → CUSTOMIZE** 1. Identify component type 2. Install: `npx magicui-cli@latest add [component]` 3. Customize props/styles ## Dependencies ```bash npm install framer-motion clsx tailwind-merge ``` ## Component Categories ```yaml Text: number-ticker, typing-animation, word-rotate, flip-text, morphing-text Buttons: shimmer-button, rainbow-button, pulsating-button, shiny-button Patterns: dot-pattern, grid-pattern, retro-grid, particles, meteors Mockups: iphone-15-pro, safari, android Layout: bento-grid, marquee, dock, animated-list, file-tree Effects: orbiting-circles, animated-beam, border-beam, confetti, globe ``` ## Decision Tree ```yaml Need animated component? ├─ Stats/numbers → number-ticker ├─ Logo carousel → marquee ├─ Feature grid → bento-grid ├─ CTA button → shimmer-button, rainbow-button ├─ App screenshot → safari, iphone-15-pro ├─ Dynamic headline → word-rotate, typing-animation └─ Integration diagram → orbiting-circles, animated-beam ``` ## Quick Patterns ```tsx // Number Ticker