Day, hour and minute reels that snap behind one ink band, fading with distance, as keyboard spinbuttons that skip past times with a signal nudge, under a rolling readout.
pnpm dlx shadcn@latest add @beautiful-ui-pro/date-reelNeeds your registry key. Your components.json style picks the Base UI or Radix build: radix-*, new-york and default get Radix, base-* gets Base UI.
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Import it and pass your content. The props that matter most are listed next.
"use client";
import * as React from "react";
import { DateReel } from "@/components/ui/notchset/date-reel";
export function SendLater({ schedule }: { schedule: (when: Date) => Promise<void> }) {
const [now] = React.useState(() => new Date());
const [when, setWhen] = React.useState<Date | undefined>();
return (
<div className="grid gap-2">
<DateReel now={now} onValueChange={setWhen} onSchedule={schedule} />
<span className="font-mono text-xs">{when ? `SENDS ${when.toUTCString()}` : "PICK A TIME"}</span>
</div>
);
}now–
DateEarlier times are skipped.
value / defaultValue / onValueChange–
DateControlled or not.
days / minuteStep / presets / onSchedule–
number / number / { label, value }[] / (d) => voidRange, step, chips and SCHEDULE.
components/ui/notchset/date-reel.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.