Preet Suthar

Time picker

Forms 41

About

A flexible time picker component with 12-hour format, AM/PM selection, and optional current time button, designed for easy time selection in forms and applications.

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

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

export default function DemoOne() {
  const [time, setTime] = React.useState<string>();

  return <TimePicker value={time} onChange={setTime} />;
}

More by Preet Suthar

View all
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.8K
  • Shining Text

    Shining Text

    1.7K
  • Magic Text

    Magic Text

    922
  • Toolbar

    Toolbar

    870
  • Hero 2

    Hero 2

    865
  • Typewriter Text

    Typewriter Text

    820
  • AI Chat Input

    AI Chat Input

    792
  • Full Screen Signup

    Full Screen Signup

    776

More in Forms

View all
  • Premium Auth

    Premium Auth

    593
  • Contact Form

    Contact Form

    28
  • Form

    Form

    4
  • Login 1

    Login 1

    70
  • Book A Demo 1

    Book A Demo 1

    94
  • Contact Card

    Contact Card

    1.1K
  • HeroUI Field Error

    HeroUI Field Error

    13
  • Form [react-aria-components]

    Form [react-aria-components]

    19