Marlow & Sons
03The export
What the engineer merges
CheckoutTotal.tsxtsx
import { motion } from 'framer-motion';
import { tokens } from '@/motion/tokens';
export function CheckoutTotal({ amount }: { amount: number }) {
return (
<motion.div
initial={{ opacity: 0, y: 8 }}
animate={{ opacity: 1, y: 0 }}
transition={tokens.enter.soft} // 320ms, ease-out-quart
>
<Amount value={amount} spring={tokens.spring.settle} />
</motion.div>
);
}Generated from the timeline above. Tokens resolve from the same file the design system reads.