erictsai83

Seek Button

Buttons

About

A circular media skip control whose ring spins one full turn per press while the seconds it jumps stay upright at the centre.

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

Code

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

Usage.tsx

"use client";

import { SeekButton } from "@/components/ui/ericts-seek-button";

export default function Preview() {
  return (
    <div className="relative flex min-h-56 w-full items-center justify-center overflow-hidden rounded-xl">
      {/* Glass only reads as glass when there is something behind it to
          refract, so the demo lays a soft wash under the controls. */}
      <div aria-hidden className="pointer-events-none absolute inset-0">
        <div className="absolute top-[20%] left-[30%] size-64 -translate-x-1/2 rounded-full bg-chart-1/45 blur-3xl" />
        <div className="absolute top-[55%] left-[62%] size-64 -translate-x-1/2 rounded-full bg-chart-2/45 blur-3xl" />
        <div className="absolute top-[70%] left-[48%] size-48 -translate-x-1/2 rounded-full bg-chart-4/35 blur-3xl" />
      </div>
      <div className="relative flex items-center gap-12">
        <SeekButton
          direction="backward"
          size={72}
          aria-label="Rewind 10 seconds"
        />
        <SeekButton
          direction="forward"
          size={72}
          aria-label="Fast-forward 10 seconds"
        />
      </div>
    </div>
  );
}

Dependencies

More by erictsai83

View all
  • Adaptive Drawer

    Adaptive Drawer

  • Status Button

    Status Button

  • Floating Shortcut Button

    Floating Shortcut Button

  • Filter Tags

    Filter Tags

  • Feedback Popover

    Feedback Popover

  • Expandable Toolbar

    Expandable Toolbar

  • Expandable Toggle Button

    Expandable Toggle Button

  • Arc Menu

    Arc Menu

More in Buttons

View all
  • Texture Button

    Texture Button

    122
  • Button

    Button

    172
  • HeroUI Button Group

    HeroUI Button Group

    1
  • Button

    Button

    88
  • Native Button

    Native Button

    7
  • Button

    Button

    74
  • Button Group

    Button Group

    5
  • Button

    Button

    21