serayudigital

Time Picker

Forms 5

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

    12
  • Theme Toggle

    Theme Toggle

    4
  • Auth Login Screen

    Auth Login Screen

  • Mobile Search

    Mobile Search

  • Data Table

    Data Table

  • Chat Bubble

    Chat Bubble

More in Forms

View all
  • Form

    Form

    7
  • Login 2

    Login 2

    16
  • Contact Form

    Contact Form

    33
  • Contact Card

    Contact Card

    1.1K
  • Book A Demo 1

    Book A Demo 1

    95
  • Premium Auth

    Premium Auth

    614
  • Onboarding Stepper

    Onboarding Stepper

    13
  • Authentication Card

    Authentication Card

    52