serayudigital

Time Picker

Forms

About

An iOS-style scrollable spinner for picking hours and minutes, with keyboard navigation and a configurable minute step.

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

Code

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

Usage.tsx

"use client";

import * as React from "react";
import TimePicker from "@/components/ui/time-picker";

export default function TimePickerDemo() {
  const [time, setTime] = React.useState<
    { hours: number; minutes: number } | undefined
  >(undefined);
  return (
    <div className="flex min-h-[320px] w-full items-center justify-center bg-background p-8 text-foreground">
      <TimePicker value={time} onChange={setTime} />
    </div>
  );
}

More by serayudigital

View all
  • Date Picker

    Date Picker

    13
  • Theme Toggle

    Theme Toggle

    3
  • Auth Login Screen

    Auth Login Screen

  • Mobile Search

    Mobile Search

  • Data Table

    Data Table

  • Chat Bubble

    Chat Bubble

More in Forms

View all
  • Premium Auth

    Premium Auth

    577
  • Login 1

    Login 1

    68
  • Contact Card

    Contact Card

    1.1K
  • Form

    Form

    18
  • Login Card

    Login Card

    36
  • Login 2

    Login 2

    15
  • Change Password Form

    Change Password Form

    11
  • Form

    Form

    3