189 ·GitHub
What is this?
It is a curated collection of premium React micro-interaction components, transition effects, and animated card layouts (named @subhanhq/amicro), built on top of the Motion animation library.
Is this an npm package I import, or something else?
It is a copy-to-code component registry, like shadcn/ui: you install a CLI command that copies the raw TSX source of a component into your own project instead of adding a runtime dependency.
How do I add a component to my project?
Run a CLI command like `npx @subhanhq/amicro@latest add card-arc-5`, or set up namespaced registry mapping by adding the @amicro namespace to your project's components.json so you can install by name.
What do I need already set up in my project to use these components?
Node.js 18 or higher, React 18 or 19, Tailwind CSS v3 or v4, and either the motion or framer-motion package.
Does it work if I'm not using Tailwind or Motion?
No, the components assume Tailwind CSS and the Motion animation library are already configured in your project since they are listed as hard prerequisites.
Is this meant for web apps specifically?
Yes, it's a React UI component library intended for web frontends, not for native mobile or desktop apps.
What kind of components does it include?
Mostly card layouts (arc fans, cascades, carousels, time-machine stacks) and micro-transitions, such as a 5-card arc, a CoverFlow carousel, and an Apple-style perspective card stack.
Why copy-to-code instead of a normal npm import?
Copying the TSX source directly into your codebase avoids adding runtime dependencies and gives you full control to customize the component after installation.
Does it support dark mode?
Yes, components are designed with both dark and light UI palettes in mind out of the box.
Can I install a single component without the CLI?
Yes, you can also install any component directly by referencing its public raw URL instead of using the npx CLI command.
What are similar projects?
arc-library, rare-ui, magicui, ink-kit, awesome-shadcn-ui, chakra-ui, canvas-ui, ui
Which topics is it in?
shadcn, react-components, shadcn-ui, ui-library, design-system, tailwindcss, vite, component-library, design, ui-components, animation, ui