ham7a311

Ripple Rim Card

Cards

About

A file drop zone whose dashed SVG border leans toward a file being dragged over it and sends a ripple wave around its rim from the exact spot where the file is dropped.

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

Code

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

Usage.tsx

"use client";

import RippleRimCard from "@/components/ui/ripple-rim-card";

export default function Demo({ variant = "night" }: { variant?: string }) {
  const paper = variant === "paper";
  return (
    <div
      className={`flex min-h-full w-full items-start justify-center px-4 pb-10 pt-[12vh] sm:px-10 ${paper ? "bg-[#f3f1ec] text-[#1b1a17]" : "bg-[#0b0a0d] text-[#efe8dc]"}`}
    >
      <div className="w-full max-w-[34rem]">
        <p
          className={`mb-2 font-mono text-[0.6875rem] uppercase tracking-[0.14em] ${paper ? "text-[#6f6a62]" : "text-[#9c96a1]"}`}
        >
          Bait Al Noor · Lease renewal · Step 2 of 3
        </p>
        <h2 className="mb-1.5 text-[1.5rem] font-semibold tracking-[-0.02em]">
          Upload your signed lease
        </h2>
        <p
          className={`mb-6 text-[0.9375rem] leading-relaxed ${paper ? "text-[#6f6a62]" : "text-[#9c96a1]"}`}
        >
          Sign every page, then scan it or take clear photos. We&rsquo;ll
          confirm by WhatsApp within a working day.
        </p>
        <RippleRimCard
          theme={paper ? "paper" : "night"}
          title="Drop the signed lease here"
          hint="PDF or photo, up to 10 MB"
          accept=".pdf,.jpg,.jpeg,.png,.heic"
          multiple
        />
      </div>
    </div>
  );
}

More by ham7a311

View all
  • Wave Mesh

    Wave Mesh

    137
  • Route Globe

    Route Globe

    125
  • Glass Tiles

    Glass Tiles

    109
  • Glyph Swell

    Glyph Swell

    50
  • Orbit Ring Stats

    Orbit Ring Stats

    47
  • Ask Bar

    Ask Bar

    38
  • Glass Ribbons

    Glass Ribbons

    30
  • Intent Label

    Intent Label

    29

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    40
  • Course Design Cards

    Course Design Cards

    1.2K
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    449
  • Card Studio

    Card Studio

    36
  • Statistics Card 7

    Statistics Card 7

    312
  • Statistics Card 2

    Statistics Card 2

    293
  • The Item one

    The Item one

    3
  • Testimonial

    Testimonial

    70