kevingirelli

Animated Border

Cards 68

About

A card or container border with a glowing light that travels around its edge, used to draw attention to featured content.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Animated Border to your project and fits it to your theme.

Code

How Animated Border is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { AnimatedBorder } from "@/components/ui/animated-border";

export default function AnimatedBorderDemo() {
  return (
    <div className="flex min-h-[320px] w-full items-center justify-center p-10">
      <AnimatedBorder className="w-72">
        <div className="flex flex-col gap-2 p-6">
          <h3 className="text-sm font-medium">Default</h3>
          <p className="text-sm text-muted-foreground">
            The primary colour, six seconds a lap.
          </p>
        </div>
      </AnimatedBorder>
    </div>
  );
}

More by kevingirelli

View all
  • QR Code

    QR Code

    126
  • Aurora

    Aurora

    115
  • FAQ Section

    FAQ Section

    74
  • Warp Gradient

    Warp Gradient

    58
  • Corner Frame

    Corner Frame

    54
  • Wave Text

    Wave Text

    53
  • Spotlight

    Spotlight

    40
  • Flip Text

    Flip Text

    28

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    36
  • Course Design Cards

    Course Design Cards

    1.2K
  • Statistics Card 2

    Statistics Card 2

    298
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    534
  • Statistics Card 7

    Statistics Card 7

    320
  • Card Studio

    Card Studio

    37
  • Statistics Card 10

    Statistics Card 10

    289
  • The Item one

    The Item one

    3