Installation
Documentation Index
Fetch the complete documentation index at: /llms.txt. Use this file to discover all available pages before exploring further.
Add animated Honest UI components to your React project.
Animated components are installed into your project with the Honest UI CLI. The CLI copies the component and its supporting motion utilities, then adds external dependencies such as Motion when required.
Prerequisites
Set up Honest UI first if your project does not already have a components.json file.
npx honestui@latest initAdd a component
Pass the component name to the CLI:
npx honestui@latest add text-revealThe installed source lives under components/animated and can be changed directly. Components that need shared easing, hover-capability, or sound helpers also install those files into your configured lib or hooks aliases.
Motion dependency
Most components use Motion for React. The CLI adds it automatically when a selected component needs it. For a manual installation:
npm install motionThemeToggle also uses next-themes, and icon-bearing components use lucide-react.
Reduced motion
No additional setup is required. Components built with Motion read the operating system's reduced-motion preference and remove or simplify non-essential movement. If you add custom effects, preserve that behavior in your changes.