How I Designed a Date Picker as Part of the Daily UI Challenge

Overview

The date picker components include various types of date input interfaces: Docked Date Picker, Modal Date Picker, Modal Date Input for Date Range, and Modal Date Input for Single Date.

Each component is designed with a dark theme and highlights the selected date in orange for better visibility. The design aims to provide users with an intuitive and efficient way to select dates.

Details:

Docked Date Picker

Description:

  • A calendar is permanently visible below the input field.

  • Users can directly interact with the calendar to select a date.

UI Elements:

  1. Outlined Text Field: Displays the selected date in MM/DD/YYYY format.

  2. Menu Button: Month Selection: Allows users to navigate through months.

  3. Menu Button: Year Selection: Allows users to navigate through years.

  4. Icon Button: Arrows to switch between months and years.

  5. Weekdays Label Text: Labels for days of the week (M, T, W, T, F, S, S).

  6. Unselected Date: Regular dates displayed in the calendar.

  7. Today's Date: Highlighted with a small dot for current day identification.

  8. Next Month's Date: Dates from the adjacent month displayed for continuity.

  9. Day with Event: Dates with associated events highlighted differently (if any).

  10. Selected Date: Highlighted in orange for better visibility.

  11. Text Buttons: 'Confirm' and 'Cancel' buttons for finalizing or dismissing the date selection.

  12. Container: The overall structure enclosing the date picker.

Modal Date Picker

Description:

  • A calendar interface that appears in a modal upon interaction.

  • Provides a focused way to select a date without distractions from other UI elements.

UI Elements:

  1. Headline: Displays the selected date in a larger font for clarity.

  2. Supporting Text: Contextual information about the date (e.g., day of the week).

  3. Header: Section for navigating the calendar.

  4. Container: The enclosing element for the modal.

  5. Weekdays Label Text: Labels for days of the week.

  6. Unselected Date: Regular dates in the calendar.

  7. Today's Date: Current date indication.

  8. Selected Date: Highlighted for visibility.

  9. Next Month's Date: Display for continuity.

  10. Day with Event: Highlight for dates with events.

  11. Text Buttons: 'Confirm' and 'Cancel' options.

Modal Date Input

Modal Date Input (Date Range)

Description:

  • Allows users to select a start and end date for a range.

  • Appears in a modal for a focused date range selection.

UI Elements:

  1. Date Range Input: Two input fields for selecting start and end dates.

    • Start Date: Input field for the beginning of the date range.

    • End Date: Input field for the end of the date range.

  2. Text Buttons: 'Confirm' and 'Cancel' buttons for applying or dismissing the selection.

Modal Date Input (Single Date)

Description:

  • Similar to the Modal Date Input for Date Range but for a single date.

  • Appears in a modal for selecting a single date.

UI Elements:

  1. Single Date Input: Input field for selecting a single date.

  2. Text Buttons: 'Confirm' and 'Cancel' buttons for finalizing or dismissing the selection.

More by Eda Hazal Tümer

View profile