Skip to content

Fancy Components Grid Notes

Experimental, playful React components — letter swaps, variable-font hover effects, physics gravity, gooey SVG filters and image trails — built with Tailwind CSS and Motion.

Grid NotesVersion registryUI librariesChecked 2026-11-06
Setup & agent config

Install and prerequisites

What your agent should install or configure before writing code with this pack.
Terminal
npx shadcn@latest add "https://fancycomponents.dev/r/text-rotate.json"
Packages:motion

Requires Tailwind CSS and motion. Run pnpm install (or npm install) after shadcn add if the component adds new dependencies to package.json.

Framework setup

Production-ready wiring for React 19, Next.js App Router and Tailwind CSS v4.

Adding the @fancy registry alias to components.json

@fancy is not in shadcn's default registry index (and @fancy-ui is a completely different project). Use the full .json URL, or register @fancy in components.json first.

components.json
{
  "registries": {
    "@fancy": "https://fancycomponents.dev/r/{name}.json"
  }
}

Gotchas for agents

Real-world traps — version mismatches, licence boundaries, main-thread stalls and CSS layer rules — that trip AI agents up.
  1. Do not confuse @fancy with @fancy-ui

    @fancy is not registered in ui.shadcn.com/r/registries.json, and @fancy-ui points to an unrelated registry. Without the components.json entry above, always install by full URL (https://fancycomponents.dev/r/<slug>.json).

  2. Registry slugs match source filenames, not doc titles

    Some component URLs differ from their docs page slug (for example, letter-swap.json returns 404 while letter-swap-forward-anim.json is the real item). Copy the exact URL from the component's installation tab.

  3. Install dependencies after adding

    Several physics and shader components add packages such as matter-js to package.json without running your package manager; run pnpm install after adding.

Accessibility and reduced motion

How to keep animations and interactive components accessible across keyboard, screen readers and prefers-reduced-motion.

Reduced motion

Physics scenes (Gravity), cursor trails (ImageTrail) and continuous text rotations (TextRotate) should be disabled or rendered as static layouts when prefers-reduced-motion: reduce is active.

Keyboard and screen readers

Letter-by-letter hover components (LetterSwapForward) split text into individual <span> nodes; keep a single sr-only text node and mark the split wrapper aria-hidden="true".