Introducing Aceternity UI Pro - Premium component packs and templates to build awesome 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.

Get beautiful, hand-crafted templates and components with Aceternity UI Pro

Professional, beautiful and elegant templates for your business. Get the best component packs and templates with Aceternity UI Pro.

Go Pro
Manu is the man! He is the best front-end developer I have worked with. He took the requirements and quite literally ran with them. We are super happy with the result and product we go...

John Shahawy

Founder at Rogue and Moonbeam

A product by Aceternity
Building in public at @mannupaaji