Isaiah

Elastic Frame

Cards

About

An interactive card/frame outline that behaves like a tensioned string, visually plucking and rippling when the pointer passes near its edge.

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

Code

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

Usage.tsx

"use client";

import ElasticFrame from "@/components/ui/elastic-frame";

export default function ElasticFrameDemo() {
  return (
    <div className="flex h-full w-full items-center justify-center p-10">
      <ElasticFrame className="max-w-sm" radius={24} padding={32}>
        <div
          className="flex h-40 w-full flex-col items-center justify-center gap-1 bg-neutral-900 text-center text-neutral-100"
          style={{ borderRadius: 24 - 32 / 2 }}
        >
          <p className="text-sm font-medium">Elastic Frame</p>
          <p className="text-xs text-neutral-400">
            Move your pointer near the edge
          </p>
        </div>
      </ElasticFrame>
    </div>
  );
}

Dependencies

More by Isaiah

View all
  • Agent Plan

    Agent Plan

    2.2K
  • Video Scroll Hero

    Video Scroll Hero

    1.4K
  • Voice Powered Orb

    Voice Powered Orb

    1.4K
  • Reveal Text

    Reveal Text

    1.1K
  • Leads Data Table

    Leads Data Table

    943
  • Portfolio Gallery

    Portfolio Gallery

    939
  • Message Dock

    Message Dock

    841
  • Ruler Carousel

    Ruler Carousel

    628

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.1K
  • Statistics Card 7

    Statistics Card 7

    301
  • Statistics Card 2

    Statistics Card 2

    272
  • Stats cards with links

    Stats cards with links

    82
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    183
  • Card Studio

    Card Studio

    35
  • Card

    Card

    70
  • Card

    Card

    18