Who it is forA team with an existing design system that wants the Open Analytics motion and surface values without adopting its components.
The problemMatching the feel of a product means knowing exact radii, easing and spring values, which are often not written down.
The outcomeYour design system uses the token CSS and spring constants from Oa Design, with your own components kept as they are.
What you need first
- npm, for the npx commands
- git, for cloning the repository
- A React and Tailwind v4 project, which the values were written against (the README says the values are plain CSS and can be ported)
- A coding agent such as Claude Code, Cursor, or Codex, if you want the agent to apply the design
Steps
- Run
npx getopen-design tokensin your project to get the token CSS. - Open components/_lib in the cloned repository to find the seven springs as constants.
- Copy the spring values and token variables into your design system, mapping them to your own names.
- Ask your agent to replace hard-coded radii and easing in one component with these tokens.
- Check that existing components still render the same.
Prompt for your agent
From the repo OpenLabs-so/oa-design, take the token CSS and spring constants and map them into the design system in <design-system-path> without changing its components. Expected output: a mapping file and updated values in one component. Verify that the component renders and the springs match the constants in components/_lib.
Caveat. The README says the values are plain CSS numbers and spring constants written against motion, so non-React systems must translate the spring model themselves.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for OpenLabs-so/oa-design and "Port the token CSS and spring constants to your stack"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer