Skip to content

[Feature Request] Date-Time Picker #124

@766F6964

Description

@766F6964

Summary

Overview

The component I think that is missing and should definitely be part of basecoat is a well designed date/time picker component.
A date picker is e.g. also part of shadcn: https://ui.shadcn.com/docs/components/date-picker

But, I think there are a couple of design and feature questions worth thinking about before implementing this.
Some examples are shown below.

Date and Time Pickers - Separate or Combined?

Date and Time selection often are used in combination.
While they should definitly be separate components, maybe there is a way to combine them into a single component?

Image 1 Image 2
Individual Time Picker Component Combined Date+Time Picker Component

Double-Date-Picker

I often have seen that two date pickers can be merged into a single component. This can be especially useful when e.g. selecting a range. For example plane tickets, departure and arrival. It would be nice to have this option, I can see use for this:

Image 1 Image 2
Single Date Picker Component Double Date Picker Component

Example images from here.

Quick Navigation

It would be nice if users can quickly change year/month, without having to press the left-right arrow buttons many times.
ShadCN already does this by default, - it offers a dropdown menu for months and years at the top.

Custom Buttons in Date Picker

It would make sense if users can add custom buttons in the date picker, e.g. a button "Today" to focus the current day etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions