motion-primitives/spinning-text
A component that animates text with a spinning rotation effect.
Installs, but has a TypeScript error. Production builds (next build) stop on type errors until this line is fixed. Checked Oct 14 in a clean Next 16.4.0 · React 19 · Tailwind 4 project.
src/components/ui/spinning-text.tsx(74,7): error TS2322: Type '{ duration: number; repeat: number; ease: string; } | { duration: number; isSync?: boolean | undefined; delay?: number | undefined; elapsed?: number | undefined; driver?: Drivernpx get-ui-cli add motion-primitives/spinning-textInstalls every file, sub-component, npm dependency and CSS variable, with imports rewritten to your project’s aliases.
Add the "Spinning Text" component (motion-primitives/spinning-text, from Motion Primitives) to this project. 1. Run: npx get-ui-cli add motion-primitives/spinning-text --yes 2. Read the "Use it" snippet it prints, then import the component and render it where it fits. 3. Don't rewrite the installed file. Adapt it through its props and className, so `npx get-ui-cli update` can still merge upstream fixes. 4. Run: npx get-ui-cli doctor, and fix anything it reports.