An inline relative date picker that lets users select a fixed or relative date.

The date relative picker is an input component that provides access to a dialog where the user can select either a fixed date or a relative date based on a reference date and an offset period. The resulting value is Temenos-specific.

Date relative pickers use a compact design to improve usability on various devices. The picker's dialog has two UI variations, each of which corresponds to one of the following supported date types:

  • Fixed
  • Relative

Our date relative picker is based on our text field component. Both date types share a similar anatomy, which is illustrated here using the Relative date type.

  1. Date relative picker input component (Text Field)
    1. Container
    2. Text label / Dynamic data
    3. Trailing icon – Click to display dialog
  2. Date relative picker dialog
    1. Card / Container
    2. Dialog label
    3. Reset button
    4. Close button
    5. Date type
    6. Date selector
    7. Set date CTA button

Fixed – Select a fixed date from a calendar. Press Today to select the current date.

Relative – Select a reference date and an offset period consisting of an integral number of periodic units.

Date relative pickers are available in normal (medium) and dense (small) sizes. Date relative picker size is based on an integral number of nudges, where 1 nudge is 8px ().

  1. Small – Based on a height of 5 nudges (40 px)
  2. Medium – Based on a height of 7 nudges (56 px)

Date relative pickers are interactive components that respond visually to user actions and system-initiated events.

The layout of the date relative picker dialog changes as different date types are selected. See Content > Date types for details.

Our components have been designed to comply with the WCAG 2.1 AA accessibility guidelines. For more information about how our design system complies with color-related accessibility guidelines, see Foundations > Colors > Accessibility.

Related components: