# Due Date Picker block

> Date and Time Scheduling Popover with Quick Shortcut Rows, Calendar, and Time Slots

Schedule a date and time: quick shortcut rows (Today, Tomorrow, Next week), month and year calendar, and scrollable time-slot column with disabled slots. Uses ReUI Frame, shadcn Calendar, Item, Select, ScrollArea, Button. Due-date / deadline picker.

- Type: Pro block
- Category: [Schedule](https://web.dev.reui.io/blocks/application/schedule.md)
- Page: https://web.dev.reui.io/blocks/application/schedule/schedule-10
- MCP: `get_block("schedule-10")`
- Built with: Button, Calendar, Frame, Item, Scroll Area, Select, Separator
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A due date and time picker led by Today, Tomorrow, Later this week, Next week and No date rows above the month grid

## Agent notes

- The Apply button has no handler; send `selectedDate` and `selectedTime` to your save call and treat the No date row as an undefined date
- `TIME_SLOTS` lists half hours from 8:00 to 20:00 with the 12:00 hour blocked; replace it with availability for the picked day
- `NOW` pins the demo clock to 30 June 2026 and `buildShortcuts` derives every row from it; pass your real today

## When not to use

- Only a day is picked, with no time slot column: use [Date Selector](https://web.dev.reui.io/components/date-selector.md) (`get_component("date-selector")`)
- A booking guest picks one open slot after choosing a duration: use [Session Booking](https://web.dev.reui.io/blocks/application/schedule/schedule-9.md) (`get_block("schedule-9")`)

## Third-party libraries

- date-fns v4: [docs](https://date-fns.org/v4.1.0/docs/Getting-Started)
- React DayPicker v9: [API reference](https://daypicker.dev/v9/api), [docs](https://daypicker.dev/v9/start), through shadcn Calendar

## Install

```bash
npx shadcn@latest add @reui/schedule-10
```

## About Schedule blocks

### When to use

- Booking a session or setting up a meeting: a day, a time slot, a duration and a confirm step
- A month view card with the picked day's events and attendees, or a team's attendance counts
- Creating a scheduled event with members and files, or an event's detail card with an RSVP

### When not to use

- A full page week or month grid where people drag, resize and create events: use the [Event Calendar blocks](https://web.dev.reui.io/blocks/application/event-calendar.md)
- A plain day or range field in a form, with no slots, agenda or booking card: use [Calendar](https://web.dev.reui.io/components/calendar.md) (`get_component("calendar")`)
- A drop zone for attachments on its own, with no booking or meeting fields: use [File Upload](https://web.dev.reui.io/components/file-upload.md) (`get_component("file-upload")`)

### Agent notes

- `Schedule` takes no props and saves or sends nothing; add a callback to hand the picked day, time or form values to your app
- Each `Schedule` caps its width with a max-w class on its root `Frame`, and page.tsx centers it with p-10 md:p-20; drop both inside your layout

Every ReUI item has a twin like this one; the index is https://web.dev.reui.io/llms.txt. Agents with the ReUI MCP (https://web.dev.reui.io/docs/mcp) get the same guidance from the getters named above.
