Introduction
What Truffle UI is and how it fits into your project.
Truffle UI is a collection of animated React components that you copy into your project. There is no package to keep up to date and no runtime to load: each component is a single .tsx file that you own.
What you need
- React 18.3 or 19
- Tailwind CSS v4
- TypeScript, recommended but not required
How components are built
- Motion for springs, layout and gesture animation. Simple loops use CSS keyframes instead.
- Radix UI under anything interactive, so focus, keyboard and screen reader behavior are correct.
- Tailwind tokens such as
bg-cardandtext-muted-foreground, so components match a shadcn/ui theme without changes.
Continue to Installation.