ham7a311

Atmosphere Card

Cards 1

About

A link card with glowing color pooled in the corners, slow drifting contour-line animation, and a soft spotlight that follows the cursor on hover.

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

Code

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

Usage.tsx

"use client";

import AtmosphereGrid, {
  type AtmosphereItem,
} from "@/components/ui/atmosphere-card";

const icon = (d: string) => (
  <svg
    viewBox="0 0 24 24"
    fill="none"
    stroke="currentColor"
    strokeWidth="1.5"
    strokeLinecap="round"
    strokeLinejoin="round"
  >
    <path d={d} />
  </svg>
);

const ITEMS: AtmosphereItem[] = [
  {
    label: "Learn",
    description:
      "Short, practical sessions that start where you are and end with something you made.",
    href: "#learn",
    atmosphere: "violet",
    icon: icon(
      "M4 6.5 12 3l8 3.5-8 3.5-8-3.5ZM6 9v5c0 1.5 2.7 3 6 3s6-1.5 6-3V9",
    ),
  },
  {
    label: "Build",
    description:
      "Small teams, real briefs, and a demo at the end of every cycle.",
    href: "#build",
    atmosphere: "cyan",
    icon: icon("m14 6 4 4-8 8H6v-4l8-8ZM12 8l4 4"),
  },
  {
    label: "Connect",
    description:
      "Meet the people a step ahead of you, and the ones a step behind.",
    href: "#connect",
    atmosphere: "teal",
    icon: icon(
      "M8 12a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM16 18a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM10.5 10.5l3 3",
    ),
  },
];

export default function Demo() {
  return (
    <div className="dark flex min-h-screen w-full items-center justify-center bg-background p-6 sm:p-10">
      <div className="w-full max-w-4xl">
        <AtmosphereGrid items={ITEMS} />
      </div>
    </div>
  );
}

More by ham7a311

View all
  • Wave Mesh

    Wave Mesh

    198
  • Route Globe

    Route Globe

    161
  • Glass Tiles

    Glass Tiles

    151
  • Orbit Ring Stats

    Orbit Ring Stats

    62
  • Glyph Swell

    Glyph Swell

    60
  • Ask Bar

    Ask Bar

    51
  • Fan Deck Card

    Fan Deck Card

    42
  • Intent Label

    Intent Label

    41

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Stats cards with links

    Stats cards with links

    97
  • Statistics Card 7

    Statistics Card 7

    334
  • Photo Deck

    Photo Deck

    23
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    675
  • Approval Card

    Approval Card

    33
  • Edge Cluster Status Card

    Edge Cluster Status Card

  • Card

    Card

    73