Introducing Aceternity UI Pro - 70+ premium component packs and templates to build amazing websites.
Logo

Cards

A set of cards that can be used for different use cases

Installation

Install dependencies

npm i motion clsx tailwind-merge react-icons

Add util file

lib/utils.ts
import { ClassValue, clsx } from "clsx";
import { twMerge } from "tailwind-merge";
 
export function cn(...inputs: ClassValue[]) {
  return twMerge(clsx(inputs));
}

Add animations to your CSS file

Add these animations to your CSS file:

@import "tailwindcss";
 
@theme inline {
  --animate-move: move 5s linear infinite;
 
  @keyframes move {
    0% {
      transform: translateX(-200px);
    }
    100% {
      transform: translateX(200px);
    }
  }
}

Feature Block Animated Card

Open in

Damn good card

A card that showcases a set of tools that you use to create your product.

Background Overlay Card

Open in

Background Overlays

This card is for some special elements, like displaying background gifs on hover only.

Content Card

Open in
Avatar

Manu Arora

2 min read

Author Card

Card with Author avatar, complete name and time to read - most suitable for blogs.

Build websites faster and 10x better than your competitors with Aceternity UI Pro

With the best in class components and templates, stand out from the crowd and get more attention to your website. Trusted by founders and entrepreneurs from all over the world.

Go Pro
I've been working with Manu for a couple of months now and I can't express enough how impressed I am with his talent. Manu's JavaScript/React web UI programming skills are through the roof. He's he...

Tony Pujals

Founder at Fantastic Realms, Tech Lead at Google

A product by Aceternity
Building in public at @mannupaaji