Yerfa Belkacem

Datetime Picker

Forms 46

About

A customized datetime picker component.

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

Code

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

Usage.tsx

import React from "react";
import { DatetimePicker } from "@/components/ui/datetime-picker";

const DatetimePickerDemo = () => {
  return (
    <DatetimePicker
      format={[
        ["months", "days", "years"],
        ["hours", "minutes", "am/pm"],
      ]}
    />
  );
};

export { DatetimePickerDemo };


Dependencies