Documentation Index
Fetch the complete documentation index at: https://mintlify.com/AmanShakya0018/forgeui/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before installing ForgeUI, make sure you have:- Node.js 18.0 or later
- A React 19.0+ or Next.js 15+ project
- Basic familiarity with React and Tailwind CSS
Installation steps
Install core dependencies
ForgeUI requires React, Framer Motion, and Tailwind CSS. Install them in your project:
ForgeUI uses the
motion package from Framer Motion. Make sure you’re using Framer Motion v11.15.0 or later.Install Tailwind CSS
If you haven’t already, install and configure Tailwind CSS:Follow the Tailwind CSS installation guide to complete the setup.
Create utility function
Create a This utility function combines class names and resolves Tailwind CSS conflicts.
lib/utils.ts file in your project with the following content:lib/utils.ts
Install icon libraries (optional)
Many ForgeUI components use icons. Install the icon libraries used in the components:
Verify installation
To verify your installation is complete, try importing the dependencies in a test file:Next steps
Quick start
Build your first animated component
Browse components
Explore all available components
Troubleshooting
Common issues
- Motion import errors: Ensure you’re using
motion/reactfor imports in newer Framer Motion versions - Tailwind classes not applying: Verify your Tailwind configuration includes all content paths
- Type errors: Make sure you have
@types/reactand@types/react-dominstalled