Introduction
A curated registry of animated React components, built with Tailwind CSS and Motion. Install source you own, refine it to match your product.
What is Afro UI?
Afro UI follows the shadcn registry protocol. Each component installs as source in your repository, not as a package dependency. You retain full control over styling, structure, and behavior.
What's included
How it works
The shadcn CLI reads the registry, resolves dependencies, and writes component files into components/ui/. Required packages (such as motion or prism-react-renderer) are installed automatically. Nothing imports from Afro UI at runtime.
Quickstart
Afro UI requires a React or Next.js project with shadcn configured. If you have not initialized shadcn yet, run:
npx shadcn@latest initThen add any component with a single command:
npx shadcn add al-husayn/afro-ui/scroll-progressReplace scroll-progress with any slug from the Installing page.
Keep in mind
Most components here are recreations of great work from around the web. I don't claim to be the original creator - this is my attempt to reverse-engineer, replicate, and often add a few extra features. I've tried to credit everyone; if I missed someone, let me know.
License & Usage