Aceternity UI

7 min read Original article ↗

Make your websites look
10x better

Copy paste the most trending components and use them in your websites without having to worry about styling and animations.

Next.js

React

TailwindCSS

Framer Motion

Beautify your website within minutes

With Aceternity UI, you can build great looking websites within minutes.

glare card demo image

Hover over me

Build

better 

websites with Aceternity UI

thumbnail

Copy Paste,
Customize, Deploy.

Copy paste and be done with it.

As simple as copy and paste

Copy paste the code into your ui folder and use the components in your projects. It's that simple, really.

"use client";
  import { useEffect, useState } from "react";
  import { motion } from "motion/react";
  
  let interval: any;
  
  type Card = {
    id: number;
    name: string;
    designation: string;
    content: React.ReactNode;
  };
  
  export const CardStack = ({
    items,
    offset,
    scaleFactor,
  }: {
    items: Card[];
    offset?: number;
    scaleFactor?: number;
  }) => {
    const CARD_OFFSET = offset || 10;
    const SCALE_FACTOR = scaleFactor || 0.06;
    const [cards, setCards] = useState<Card[]>(items);
  
    useEffect(() => {
      startFlipping();
  
      return () => clearInterval(interval);
    }, []);
    const startFlipping = () => {
      interval = setInterval(() => {
        setCards((prevCards: Card[]) => {
          const newArray = [...prevCards]; // create a copy of the array
          newArray.unshift(newArray.pop()!); // move the last element to the front
          return newArray;
        });
      }, 5000);
    };
  
    return (
      <div className="relative  h-60 w-60 md:h-60 md:w-96">
        {cards.map((card, index) => {
          return (
            <motion.div
              key={card.id}
              className="absolute dark:bg-black bg-white h-60 w-60 md:h-60 md:w-96 rounded-3xl p-4 shadow-xl border border-neutral-200 dark:border-white/[0.1]  shadow-black/[0.1] dark:shadow-white/[0.05] flex flex-col justify-between"
              style={{
                transformOrigin: "top center",
              }}
              animate={{
                top: index * -CARD_OFFSET,
                scale: 1 - index * SCALE_FACTOR, // decrease scale for cards that are behind
                zIndex: cards.length - index, //  decrease z-index for the cards that are behind
              }}
            >
              <div className="font-normal text-neutral-700 dark:text-neutral-200">
                {card.content}
              </div>
              <div>
                <p className="text-neutral-500 font-medium dark:text-white">
                  {card.name}
                </p>
                <p className="text-neutral-400 font-normal dark:text-neutral-200">
                  {card.designation}
                </p>
              </div>
            </motion.div>
          );
        })}
      </div>
    );
  };
  

These cards are amazing, I want to use them in my project. Framer motion is a godsend ngl tbh fam 🙏

Manu Arora

Senior Software Engineer

I dont like this Twitter thing, deleting it right away because yolo. Instead, I would like to call it X.com so that it can easily be confused with adult sites.

Elon Musk

Senior Shitposter

The first rule ofFight Club is that you do not talk about fight club. The second rule ofFight club is that you DO NOT TALK about fight club.

Tyler Durden

Manager Project Mayhem

Loved by thousands of people

Here's what some of our users have to say about Aceternity UI.

User avatar

Wow, this site is an ABSOLUTE GOLDMINE for design engineers. It's a huge collection of micro-interactions / animations, all with their respective source code for you to copy and paste. Love to see such an amazing display of my favorite package, framer-motion

User avatar

Absolutely Awesome, Would really love to use some of these in my projects

User avatar

iOS/MacOS Developer | Swift | Xcode

I really like it.I will try to use it my next app

User avatar

Man this is awesome

User avatar

User avatar

Absolutely Awesome, Would really love to use some of these in my projects

User avatar

These look awesome, nice work!

User avatar

Greg Bergé

✨ Aceternity UI is a complete collections of stunning effects ready to used for your website. It's shadcn/ui for magic effects. Can't believe it's free! 👉 ui.aceternity.com

User avatar

Wow all for free! Setup a tip jar or buy me a coffee! I’d paid or this

User avatar

YOLO ツ

Amazing, why are you so productive 🫡

User avatar

Vlad

This component are 🔥 great work

User avatar

EseMonday.eth | Devrel 🥑

This is bc amazing 👏🏾👏🏾👏🏾

User avatar

User avatar

Amazing 🚀

User avatar

Looks sick 👌🏼

User avatar

Yoo.... This has to be the most beautiful component library I've ever seen!! ui.aceternity.com Shoutout to @mannupaaji for releasing this for free!

User avatar

Rumit Dhamecha • रूमित धामेचा

I like the interaction and animation. Beautiful!

User avatar

Vinay

Upon my return from a short break every time, I consistently find innovative additions by you✨🤌🏻

User avatar

EseMonday.eth | Devrel 🥑

There are level to this things Congratulations @mannupaaji 👏🏾👏🏾

User avatar

sus646

is amazing ❤️‍🔥❤️‍🔥 It is open forever?

User avatar

Adrian | JavaScript Mastery

User avatar

Greg Bergé

It’s awesome 👏

User avatar

Hackmamba

This is awesome 👏

User avatar

sreejith

So happy to see @mannupaaji work being recognised 🥹🤌🏻♥️ His work is literally a treasure trove for devs 💎

User avatar

Well done Manu You rock 🚀

User avatar

Looking absolutely awesome ! 👏

User avatar

🔖 Bookmarking it right away

User avatar

I just tried it out this is crazy awesome

User avatar

Rajdeep Seth

Stumbled upon ui.aceternity.com today and my mind is blown 🤯 The seamless integration of framer-motion, tailwind CSS, and shadcn showcases a masterclass in UI design. 🚀 Kudos to @mannupaaji for creating such an innovative and inspirational resource for devs! #UI #nextjs

User avatar

This library is so dope. Stoked to see more components drop.

User avatar

bro just keeps dropping crazy alpha

User avatar

Wow, this is awesome!

User avatar

This is absolutely mind blowing. Animated UIs are the big leap forward on modern interfaces. Already thinking on how to build our website using these 💡

User avatar

Enis

Bro this is too beautiful, why is this even free??

User avatar

You can’t imagine how much time I spent to find the flashlight effect. Super useful!

User avatar

Aceternity UI has some of the best components for designing landing pages I've ever seen. If you're struggling with figuring out what animations to use. Check it out. Thank me later 😉. ui.aceternity.com

User avatar

Dhanush Vardhan Kalaiselvan

@aceternitylabs is just awesome, added some of its elements in my portfolio website

User avatar

Looking absolutely awesome ! 👏

User avatar

🔖 Bookmarking it right away

User avatar

I just tried it out this is crazy awesome

User avatar

Rajdeep Seth

Stumbled upon ui.aceternity.com today and my mind is blown 🤯 The seamless integration of framer-motion, tailwind CSS, and shadcn showcases a masterclass in UI design. 🚀 Kudos to @mannupaaji for creating such an innovative and inspirational resource for devs! #UI #nextjs

User avatar

This library is so dope. Stoked to see more components drop.

User avatar

bro just keeps dropping crazy alpha

User avatar

Wow, this is awesome!

User avatar

This is absolutely mind blowing. Animated UIs are the big leap forward on modern interfaces. Already thinking on how to build our website using these 💡

User avatar

Enis

Bro this is too beautiful, why is this even free??

User avatar

You can’t imagine how much time I spent to find the flashlight effect. Super useful!

User avatar

Aceternity UI has some of the best components for designing landing pages I've ever seen. If you're struggling with figuring out what animations to use. Check it out. Thank me later 😉. ui.aceternity.com

User avatar

Dhanush Vardhan Kalaiselvan

@aceternitylabs is just awesome, added some of its elements in my portfolio website

User avatar

sus646

is amazing ❤️‍🔥❤️‍🔥 It is open forever?

User avatar

Adrian | JavaScript Mastery

User avatar

Greg Bergé

It’s awesome 👏

User avatar

Hackmamba

This is awesome 👏

User avatar

sreejith

So happy to see @mannupaaji work being recognised 🥹🤌🏻♥️ His work is literally a treasure trove for devs 💎

User avatar

Well done Manu You rock 🚀

User avatar

Amazing 🚀

User avatar

Looks sick 👌🏼

User avatar

Yoo.... This has to be the most beautiful component library I've ever seen!! ui.aceternity.com Shoutout to @mannupaaji for releasing this for free!

User avatar

Rumit Dhamecha • रूमित धामेचा

I like the interaction and animation. Beautiful!

User avatar

Vinay

Upon my return from a short break every time, I consistently find innovative additions by you✨🤌🏻

User avatar

EseMonday.eth | Devrel 🥑

There are level to this things Congratulations @mannupaaji 👏🏾👏🏾

User avatar

sus646

is amazing ❤️‍🔥❤️‍🔥 It is open forever?

User avatar

Adrian | JavaScript Mastery

User avatar

Greg Bergé

It’s awesome 👏

User avatar

Hackmamba

This is awesome 👏

User avatar

sreejith

So happy to see @mannupaaji work being recognised 🥹🤌🏻♥️ His work is literally a treasure trove for devs 💎

User avatar

Well done Manu You rock 🚀

Featured by popular YouTubers

See what the best YouTubers are saying about Aceternity UI.

Jeff from talks about how Aceternity UI can help you build awesome landing pages with speed

Watch build an entire SaaS application from scratch with Aceternity UI

Josh from talks about how Aceternity UI components can help your website stand out.

Watch build an entire website from scratch with Aceternity UI

Adrian from talks about Aceternity UI and how to use the components efficiently

Adrian from creates an entire portfolio website with amazing details and beautiful UI with Aceternity UI

Watch walk through Aceternity UI components and teaches how to incorporate them into your website

Get more done with Aceternity UI Pro

Aceternity UI offers free components while Pro gives you the best premium components and templates pack to help your website stand out. Professional, clean and modern components to help you get more done.

Component Thumbnail

Ever growing collection of components to help you ship more website features faster

template Thumbnail

Beautiful, modern and best templates to help you stand out from the crowd.

template Thumbnail

Get the latest components and templates forever with our lifetime updates. No extra fees.