Learn how the Atelier UI component system works with your coding agent.
Atelier UI is a motion and React Three Fiber component system, built for React and Next.js.
You paste one prompt into your coding agent and it installs the component with everything it depends on. Nothing on this page needs to be set up by hand.
Copy the prompt under any component preview and paste it into your coding agent:
Add Atelier's Lens Media to my app.
If there is no components.json, run: npx shadcn@latest init -d
Then run: npx shadcn@latest add @atelier/lens-media
That writes the atelier-ui skill under .agents/skills and .claude/skills. Follow it.
Props: type="image" size={0.12} softness={0.5} aberration={0.18}SKILL.md tells your agent how to set up the component, and every component installs it..agents/skills and .claude/skills, so Claude Code, Codex, Cursor, Copilot and Gemini CLI all pick it up. The two files are identical..env.local, see license.Every component plugs into three shared systems, mounted once in your root layout:
export default function RootLayout({ children }) {
return (
<html lang="en">
<body>
<SmoothScroll>
<WebglProvider>
<ClipTransition>
<TransitionPage>{children}</TransitionPage>
</ClipTransition>
</WebglProvider>
</SmoothScroll>
</body>
</html>
)
}Every WebGL component renders into a single <Canvas>.
For canvas options, see the WebGL Provider reference.
Smooth Scroll runs Lenis on the same Motion loop that renders the canvas.
For scroll options, see the Smooth Scroll reference.
TransitionPage wraps the route content and TransitionLink triggers the change.
For transition options, see the Page Transition reference.
The prompt is one of three install paths on every component page. The other two are folded underneath it:
npx shadcn@latest add command that pulls the component and its dependencies