Documentation Index
Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
Use this file to discover all available pages before exploring further.
Calendar
In progress | Storybook link coming soonWhen to use
- Date only: scheduling, deadlines, date of birth, any input where formatted date is irrelevant.
- Date and time together: event scheduling, log entries, anything time-sensitive where both formatted date and time matter.
Dos and don’ts
- Do set min and max constraints when the valid range is known — don’t make users discover invalid dates by trial and error.
- Do pre-populate with a sensible default when one exists; an empty date field with no anchor is harder to interact with.
- Do be explicit about timezone when it matters — don’t silently assume local time if users are in different regions.
- Don’t combine date and time if only one is needed — the extra input adds friction without value.
- Don’t use freeform text input as a fallback for mobile — use the native picker or a well-constrained input pattern.
Often used with
- Clock when both date and time are required and DateTimePicker.