Short how-tos for using Motionmart code in your own projects.
How to use Motionmart UI kits with Claude Code, Cursor and Codex: Add Motionmart components, landing pages and app screens to a project with an AI coding tool: pick the framework, save the files, and the prompts that get a clean result in Claude Code, Cursor, Codex or Copilot.
Install free Motionmart components with the shadcn CLI: Every item in the free Motionmart packs is in a shadcn-compatible registry. One command adds the React component and its core file to your project, with any package it needs.
How Seek shows why a command matched: How the free Seek fuzzy search command palette scores a query, returns the matched character ranges and highlights them, and how to test match highlighting and keyboard navigation in your own palette.
Spring animations in plain CSS with linear(): How to turn a physics spring (stiffness, damping, mass) into a CSS linear() easing and a duration, the way the free Motionmart spring generator does it, and when a JavaScript spring is still the better choice.
How to calculate a WCAG contrast ratio, and fix a color that fails: How the WCAG contrast ratio is calculated from two colors, which ratio each kind of text needs (4.5:1, 3:1, 7:1), and how to find the closest color that passes, the way the free Motionmart contrast checker does it.
An accessible one-time code input: one real field under the slots: How to build a one-time code (OTP) input that keeps SMS autofill, paste and screen readers working: one real input with autocomplete="one-time-code" under the drawn slots, the way the Motionmart Slot OTP component does it.
FLIP animation: smooth layout changes with transforms and springs: How the FLIP technique (First, Last, Invert, Play) animates elements that move when the layout changes, how to run it on a spring instead of a fixed easing, and the scaled-parent trap, with the Motionmart Chip Tags component as the example.