Animated React card components

Orbit card

A community card where people and app chips orbit a center mark. Someone joins every few seconds and the count rolls up. Hover to slow it, drag to spin it.

Cards, drag, Motion

Install

npm i clsx lucide-react motion tailwind-merge && curl -o components/orbit-card.tsx https://motion-brew.com/r/orbit-card.tsx

One self contained file for React and Tailwind CSS: orbit-card.tsx. Or ask your AI agent to add it through the MCP server.

Usage

import { OrbitCard } from "@/components/orbit-card";

export default function Page() {
  return (
    <OrbitCard
      count={24816}
      label="creators"
      cta="Join the community"
      href="/join"
    />
  );
}

Props

PropTypeDefaultDescription
countnumber24816The number in the title; rolls up by one per join
labelstring"creators"Words after the number
subtitlestringa short lineLine under the title
ctastring"Join the community"Button label
hrefstringWhere the button goes
members{ name; role; avatar? }[]six peoplePeople on the rings, up to six
logoReactNodea four-point starThe center mark
speednumber1Ring speed multiplier; 0 holds still
joinEverynumber2.6Seconds between joins; 0 turns joining off
onCta() => voidButton handler when there is no href
classNamestringSize and shape of the card

More cards

  • Globe card: A feature card with a dotted three.js globe: arcs fly between people around the world and land with their avatar.
  • Avatar testimonial: Testimonials driven by a row of avatars: each quote rises in word by word out of a blur, and a ring fills around the active avatar until the next one.
  • Rolling card stack: A deck of metric cards that rolls forward like a rolodex: the front card tips away, the next glides in and counts up.
  • Particle card: A product feature card whose hero visual is a particle field: it morphs like ripples on water and parts around the cursor.

All animated react card components