Edu Calvo

Warped Circle Transition

Dashboards 4

About

A wavy, hand-warped circle reveal transition that wipes between two pieces of UI content, keyed by a transitionKey prop.

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

Code

How Warped Circle Transition is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { useState } from "react";
import WarpedCircleTransition from "@/components/ui/warped-circle-transition";

const settings = { duration: 1120 };

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  const [key, setKey] = useState(0);

  return (
    <div
      className="flex h-screen w-full items-center justify-center bg-background"
      onClick={() => setKey((k) => k + 1)}
    >
      <WarpedCircleTransition transitionKey={key} duration={s.duration}>
        <div className="flex h-64 w-64 items-center justify-center rounded-2xl bg-primary text-primary-foreground">
          Click to transition
        </div>
      </WarpedCircleTransition>
    </div>
  );
}

More by Edu Calvo

View all
  • Scrollable Card Stack

    Scrollable Card Stack

    240
  • AI Task List

    AI Task List

    167
  • Siri Orb

    Siri Orb

    164
  • Pixel Flow Field

    Pixel Flow Field

    157
  • Cursor Follow

    Cursor Follow

    155
  • Agent Avatar

    Agent Avatar

    136
  • Gravity Stars

    Gravity Stars

    124
  • Coverflow Carousel

    Coverflow Carousel

    110

More in Dashboards

View all
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.5K
  • Sidebar

    Sidebar

    286
  • SaaS Template

    SaaS Template

    2.5K
  • Course Design Cards

    Course Design Cards

    1.1K
  • System Status Block

    System Status Block

    316
  • Chat template

    Chat template

    614
  • Statistics Card 7

    Statistics Card 7

    301
  • Bar Chart

    Bar Chart

    1