timmikeladze

Cross Trainer

Component

About

An animated SVG illustration of an elliptical cross-trainer machine whose pedal path is computed from a real four-bar linkage, supporting drag-to-turn interaction and multiple motion presets.

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

Code

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

Usage.tsx

import { CrossTrainer } from "@/components/ui/cross-trainer";

export default function CrossTrainerDemo() {
  return (
    <div className="flex min-h-[320px] w-full items-center justify-center bg-background p-10">
      {/* Runs its own stride. */}
      <CrossTrainer behavior="stride" />
    </div>
  );
}

More by timmikeladze

View all
  • Puzzle Cube

    Puzzle Cube

    6
  • Debris Field

    Debris Field

    6
  • Pumpjack

    Pumpjack

    2
  • Wellhead Tree

    Wellhead Tree

    1
  • Robot Arm

    Robot Arm

    1
  • Robot Stage

    Robot Stage

  • Airliner

    Airliner

  • Rod Pump

    Rod Pump