Skip to content

Component 005Cards

Animated Border Card

A compact profile with a vivid first impression. Rotating cyan and pink borders frame an illustrated avatar, then expand to reveal the person behind it.

  • Next.js
  • Tailwind CSS
  • TypeScript
Hover, focus, or tap to expand.
Loading preview…
Live interactive preview

Quick start

Make it yours.

Save animated-border-card.tsx in your components folder, then import it below. Use it in a Next.js project with Tailwind CSS.

TSXapp/page.tsx
import AnimatedBorderCard from "@/components/ui/animated-border-card";

export default function ProfilePage() {
  return <AnimatedBorderCard />;
}

Behind the interaction

The details that make it work.

Designed to explore, ready to adapt.

A glowing introduction

Rotating neon borders and a layered avatar frame give the profile a distinctive animated treatment.

More on interaction

The compact card expands on hover, keyboard focus, or tap to reveal profile details and actions.

Make it personal

Keep the complete component in one file and replace the profile, avatar, and action handlers for your project.

Keep exploring

View all components