componentry

Lens Clock

Component

About

An analog clock widget whose dial pans and defocuses toward the edges like a camera lens following the hour hand, with live or fixed time and light/dark palettes.

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

Code

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

Usage.tsx

import { LensClock } from "@/components/ui/lens-clock";

export default function Demo() {
  return (
    <div className="flex min-h-[28rem] w-full items-center justify-center bg-background p-10">
      <LensClock />
    </div>
  );
}

Dependencies

More by componentry

View all
  • Scroll Choreography

    Scroll Choreography

    1K
  • Collection Surfer

    Collection Surfer

    797
  • Liquid Glass Carousel

    Liquid Glass Carousel

    413
  • Wheel Carousel

    Wheel Carousel

    372
  • Animated Gradient

    Animated Gradient

    371
  • Circuit Board

    Circuit Board

    156
  • Infinite Image Field

    Infinite Image Field

    108
  • Magnetic Dock

    Magnetic Dock

    101