Skip to main contentSkip to navigation
All posts

Notes on working with AI

Why AI-built sites all look alike

Claude builds a working site in minutes, and it looks like all the others. Three free libraries fix the part that's missing: how things move and how data looks.

3 min read

Same builder, same finish

Ask Claude for a landing page and you get something that works in a few minutes. Ask ten people to do the same and you get ten pages that look like siblings: the same cards, the same fade-in, the same flat bar chart. The model isn't lazy. With no other instruction, it reaches for the most common pattern it knows, and the most common pattern is, by definition, what everyone else has.

What separates a page that feels designed from one that feels generated is mostly in two places. How things move, and how data is shown. You can fix both by giving Claude better tools and naming them in the prompt.

Motion: transitions that work the first time

Motion is a free, open source animation library for React, plain JavaScript and Vue, formerly Framer Motion. It handles the everyday motion: elements entering, layouts shifting, a menu opening, a card responding to a hover.

The reason it matters for AI building is its AI Kit. You install it once with npx motion-ai, pick Claude Code from the list, and Claude gets the current Motion docs and best practices through an MCP server before it writes animation code. The docs search and the /motion skill are free. That cuts the most common failure, where the model writes animation code from an older version of the library and it silently does nothing.

Anime.js: motion that's yours

Anime.js is for the moments you want to own. Version 4 has timelines for sequencing, spring easing, SVG shape morphing, line drawing and scroll-triggered animation. This is where a logo assembles itself as the page loads, or a diagram draws its lines as the reader scrolls past.

Motion covers the interface. Anime.js covers the signature moment. Most sites need a lot of the first and one or two of the second.

shadcn charts: data that matches the design

The shadcn chart components are built on Recharts and themed through CSS variables, so a chart picks up your brand colors instead of a library default. Add them with npx shadcn@latest add chart and ask Claude for a chart component. A dashboard with charts that match the rest of the page reads as one product rather than a page with a widget pasted in.

How to prompt it

Naming the tools is half the work. The other half is saying what the motion is for. Something like this:

Build the pricing section with React. Use Motion for entrance and hover transitions, and keep every animation under 300ms. Use Anime.js for one moment only: the plan cards stagger in as the section scrolls into view. Show the comparison as a shadcn bar chart using the site's CSS color variables. Respect prefers-reduced-motion.

That last line matters. Some people get motion sick, and their operating system tells the browser. A good site listens.

Where this breaks

More motion is not better motion. If everything moves, nothing stands out, and the page feels slow. Pick the two or three moments that carry meaning, such as a state change, a reveal or a number that matters, and leave the rest still.

Claude training for teams

Want your team working this way?

This is the material we teach in workshops, at your office or online. Tell us what you're trying to solve, and we'll come back with a plan.